ClassGridViewPrintStyleSettings
Represents the print style settings dialog
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewPrintStyleSettings : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlUserControlGridViewPrintStyleSettings
Implements:
Inherited Members
Constructors
GridViewPrintStyleSettings()
Initializes a new instance of the GridViewPrintStyleSettings class.
Declaration
public GridViewPrintStyleSettings()
Properties
PrintStyle
Gets the GridPrintStyle settings edited in the dialog.
Declaration
public GridPrintStyle PrintStyle { get; }
Property Value
Methods
ApplyPrintStyleSettings()
Saves all settings form the dialog.
Declaration
protected virtual void ApplyPrintStyleSettings()
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true if managed resources should be disposed; otherwise, false.
Overrides
LoadGeneralPrintStyleSettings(GridPrintStyle)
Loads the GridPrintStyle into the dialog.
Declaration
protected virtual void LoadGeneralPrintStyleSettings(GridPrintStyle sourcePrintStyle)
Parameters
sourcePrintStyle
The RadGridView GridPrintStyle to be loaded in the dialog.
LoadPrintStyle(GridPrintStyle)
Loads the GridPrintStyle from the printed RadGridView into the dialog
Declaration
public void LoadPrintStyle(GridPrintStyle printStyle)
Parameters
printStyle
The RadGridView GridPrintStyle to be edited in the dialog.
LocalizeStrings()
Localizes the strings in the control by using the current PrintDialogsLocalizationProvider.
Declaration
public virtual void LocalizeStrings()
OnLoad(EventArgs)
Raises the Load event.
SetCustomFontControlsEnableProperty(bool)
Enables or disables the custom font properties depending on the KeepVisualStyles property setting.
Declaration
protected virtual void SetCustomFontControlsEnableProperty(bool enabled)
Parameters
enabled
SetPreviewImage()
Sets the preview image.
Declaration
protected virtual void SetPreviewImage()
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()