New to Telerik UI for WinForms? Start a free 30-day trial

Provides controls for selecting and configuring a scheduler print style.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlUserControlSchedulerPrintStyleSettings...

Implements: IBindableComponentIComponentIContainerControlIDisposableIDropTargetISynchronizeInvokeIWin32Window...

Constructors

Initializes the print style choices and preview controls.

C#
public SchedulerPrintStyleSettings()

Fields

C#
protected RadDropDownList dropDownPrintStyle
C#
protected RadGroupBox groupBoxPageRange
C#
protected RadGroupBox groupBoxPrintSettings
C#
protected RadGroupBox groupBoxPrintStyle
C#
protected RadGroupBox groupBoxStyleSettings

Properties

Gets the current print style after applying the settings control values to it.

C#
public SchedulerPrintStyle PrintStyle { get; }

Call LoadPrintStyle(SchedulerPrintStyle) before reading this property so a style is available to receive the control values.

Methods

Applies the current control values to the loaded print style.

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)

Copies shared print options, such as date range, fonts, grouping, and notes, from the style into the controls.

C#
protected virtual void LoadGeneralPrintStyleSettings(SchedulerPrintStyle printStyle)
Parameters:printStyleSchedulerPrintStyle

The style whose shared values are loaded.

Loads preview image(s) that correspond to the specified print style and layout.

C#
protected virtual void LoadPreview(SchedulerPrintStyle printStyle)
Parameters:printStyleSchedulerPrintStyle

The style whose preview is displayed.

Loads the general settings, style-specific settings, and preview for the specified print style.

C#
public void LoadPrintStyle(SchedulerPrintStyle printStyle)
Parameters:printStyleSchedulerPrintStyle

The non-null style whose values are displayed in the control.

Loads options specific to the supplied print style and shows the corresponding controls.

C#
protected virtual void LoadSpecificPrintStyleSettings(SchedulerPrintStyle printStyle)
Parameters:printStyleSchedulerPrintStyle

The style whose specific options are loaded.

Localizes the labels and choices displayed by the settings control.

C#
public virtual void LocalizeStrings()

Matches the settings group headers to the parent control's background color.

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

The event data for the load operation.

Overrides: UserControl.OnLoad(EventArgs)

Refreshes the preview using a clone so the update does not change the loaded print style.

C#
protected void UpdatePreviewThumbnail()