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

Provides the controls used to configure and preview GanttView print settings.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlUserControlGanttViewPrintSettingsControl...

Implements: IBindableComponentIComponentIContainerControlIDisposableIDropTargetISynchronizeInvokeIWin32Window...

Constructors

Initializes the print settings controls and their page-order preview images.

C#
public GanttViewPrintSettingsControl()

Properties

Gets the GanttViewPrintSettings settings edited in the dialog.

C#
public GanttViewPrintSettings PrintSettings { get; }
Property Value:

The print settings.

Methods

Saves all settings form the dialog.

C#
protected virtual void ApplyPrintSettings()

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 GanttViewPrintSettings into the dialog.

C#
protected virtual void LoadGeneralPrintSettings(GanttViewPrintSettings printSettings)
Parameters:printSettingsGanttViewPrintSettings

The print settings.

Loads the GanttViewPrintSettings from the printed RadGanttView into the dialog

C#
public void LoadPrintSettings(GanttViewPrintSettings printSettings)
Parameters:printSettingsGanttViewPrintSettings

The print settings.

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

C#
public virtual void LocalizeStrings()

Matches the group headers' fill color to the parent control when the settings panel loads.

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

Event data for the load operation.

Overrides: UserControl.OnLoad(EventArgs)

Updates the preview to reflect the selected page order and any document watermark.

C#
protected virtual void SetPreviewImage()

Enables or disables the controls that configure the printed text view.

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

true to enable the text-view controls; otherwise, false.

Removes the event subscriptions installed by WireEvents().

C#
protected virtual void UnwireEvents()

Subscribes to the page-order and text-view toggle events used by the settings panel.

C#
protected virtual void WireEvents()