Provides controls for selecting and configuring a scheduler print style.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerPrintStyleSettings : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlUserControlSchedulerPrintStyleSettings...
Implements:
Constructors
Initializes the print style choices and preview controls.
public SchedulerPrintStyleSettings()
Fields
protected RadDropDownList dropDownPrintStyle
protected RadGroupBox groupBoxPageRange
protected RadGroupBox groupBoxPrintSettings
protected RadGroupBox groupBoxPrintStyle
protected RadGroupBox groupBoxStyleSettings
Properties
Gets the current print style after applying the settings control values to it.
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.
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:
Copies shared print options, such as date range, fonts, grouping, and notes, from the style into the controls.
protected virtual void LoadGeneralPrintStyleSettings(SchedulerPrintStyle printStyle)
The style whose shared values are loaded.
Loads preview image(s) that correspond to the specified print style and layout.
protected virtual void LoadPreview(SchedulerPrintStyle printStyle)
The style whose preview is displayed.
Loads the general settings, style-specific settings, and preview for the specified print style.
public void LoadPrintStyle(SchedulerPrintStyle printStyle)
The non-null style whose values are displayed in the control.
Loads options specific to the supplied print style and shows the corresponding controls.
protected virtual void LoadSpecificPrintStyleSettings(SchedulerPrintStyle printStyle)
The style whose specific options are loaded.
Localizes the labels and choices displayed by the settings control.
public virtual void LocalizeStrings()
Matches the settings group headers to the parent control's background color.
protected override void OnLoad(EventArgs e)
The event data for the load operation.
Overrides:
Refreshes the preview using a clone so the update does not change the loaded print style.
protected void UpdatePreviewThumbnail()