Class GridViewPrintStyleSettings
Represents the print style settings dialog
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewPrintStyleSettings : UserControl
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
|
GridPrintStyle
|
Methods
ApplyPrintStyleSettings()
Saves all settings form the dialog.
Declaration
protected virtual void ApplyPrintStyleSettings()
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
|
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
LoadGeneralPrintStyleSettings(GridPrintStyle)
Loads the GridPrintStyle into the dialog.
Declaration
protected virtual void LoadGeneralPrintStyleSettings(GridPrintStyle sourcePrintStyle)
Parameters
|
GridPrintStyle
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
|
GridPrintStyle
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 System.Windows.Forms.UserControl.Load event.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
|
System.EventArgs
e
An System.EventArgs that contains the event data. |
SetCustomFontControlsEnableProperty(Boolean)
Enables or disables the custom font properties depending on the KeepVisualStyles property setting.
Declaration
protected virtual void SetCustomFontControlsEnableProperty(bool enabled)
Parameters
|
System.Boolean
enabled
|
SetPreviewImage()
Sets the preview image.
Declaration
protected virtual void SetPreviewImage()
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()