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:
Constructors
Initializes a new instance of the GridViewPrintStyleSettings class.
public GridViewPrintStyleSettings()
Properties
Gets the GridPrintStyle settings edited in the dialog.
public GridPrintStyle PrintStyle { get; }
Methods
Saves all settings form the dialog.
protected virtual void ApplyPrintStyleSettings()
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Loads the GridPrintStyle into the dialog.
protected virtual void LoadGeneralPrintStyleSettings(GridPrintStyle sourcePrintStyle)
The RadGridViewGridPrintStyle to be loaded in the dialog.
Loads the GridPrintStyle from the printed RadGridView into the dialog
public void LoadPrintStyle(GridPrintStyle printStyle)
The RadGridViewGridPrintStyle to be edited in the dialog.
Localizes the strings in the control by using the current PrintDialogsLocalizationProvider.
public virtual void LocalizeStrings()
Enables or disables the custom font properties depending on the KeepVisualStyles property setting.
Sets the preview image.
protected virtual void SetPreviewImage()
Removes the settings-control handlers while existing print-style values are loaded.
protected virtual void UnwireEvents()
Subscribes the settings controls to handlers for grouping, summaries, hidden rows and columns, repeated headers, and page-width mode.
protected virtual void WireEvents()