New to Telerik UI for WinFormsStart a free 30-day trial

Represents the print style settings dialog

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewPrintStyleSettings : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlUserControlGridViewPrintStyleSettings...

Implements: IBindableComponentIComponentIContainerControlIDisposableIDropTargetISynchronizeInvokeIWin32Window...

Constructors

Initializes a new instance of the GridViewPrintStyleSettings class.

C#
public GridViewPrintStyleSettings()

Properties

Gets the GridPrintStyle settings edited in the dialog.

C#
public GridPrintStyle PrintStyle { get; }

Methods

Saves all settings form the dialog.

C#
protected virtual void ApplyPrintStyleSettings()

Clean up any resources being used.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true if managed resources should be disposed; otherwise, false.

Overrides: ContainerControl.Dispose(bool)

Loads the GridPrintStyle into the dialog.

C#
protected virtual void LoadGeneralPrintStyleSettings(GridPrintStyle sourcePrintStyle)
Parameters:sourcePrintStyleGridPrintStyle

The RadGridView GridPrintStyle to be loaded in the dialog.

Loads the GridPrintStyle from the printed RadGridView into the dialog

C#
public void LoadPrintStyle(GridPrintStyle printStyle)
Parameters:printStyleGridPrintStyle

The RadGridView GridPrintStyle to be edited in the dialog.

Localizes the strings in the control by using the current PrintDialogsLocalizationProvider.

C#
public virtual void LocalizeStrings()

Raises the Load event.

C#
protected override void OnLoad(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: UserControl.OnLoad(EventArgs)

Enables or disables the custom font properties depending on the KeepVisualStyles property setting.

C#
protected virtual void SetCustomFontControlsEnableProperty(bool enabled)
Parameters:enabledbool

Sets the preview image.

C#
protected virtual void SetPreviewImage()
C#
protected virtual void UnwireEvents()
C#
protected virtual void WireEvents()