Class PrintSettingsDialog
Represents an UI dialog for editing print settings.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PrintSettingsDialog : RadForm, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Constructors
PrintSettingsDialog()
Declaration
public PrintSettingsDialog()
PrintSettingsDialog(RadPrintDocument)
Declaration
public PrintSettingsDialog(RadPrintDocument document)
Parameters
RadPrintDocument
document
|
Fields
buttonCancel
buttonCurDate
buttonCurTime
buttonLogo
buttonOK
buttonPageNum
buttonPrint
buttonTotalPages
buttonUser
checkBoxReverseFooter
checkBoxReverseHeader
commandBarRowElement1
commandBarSnippets
commandBarStripElement1
Declaration
protected CommandBarStripElement commandBarStripElement1
Field Value
CommandBarStripElement
|
dropDownPageSource
groupBoxMargins
groupBoxOrientation
groupBoxPage
labelBottomMargin
labelFooter
labelHeader
labelLeftMargin
labelPageSource
labelRightMargin
labelTopMargin
labelType
listBoxPaperType
maskBoxBottomMargin
maskBoxLeftMargin
maskBoxRightMargin
maskBoxTopMargin
pageFormat
pageHeaderFooter
pagePaper
pictureBoxOrientation
Declaration
protected PictureBox pictureBoxOrientation
Field Value
System.Windows.Forms.PictureBox
|
radioButtonLandscape
radioButtonPortrait
radPageView1
textBoxFooterCenterText
textBoxFooterLeftText
textBoxFooterRightText
textBoxHeaderCenterText
textBoxHeaderLeftText
textBoxHeaderRightText
Properties
PageView
Gets the page view control of the dialog.
Declaration
public RadPageView PageView { get; }
Property Value
RadPageView
The page view. |
PrintDocument
Gets the RadPrintDocument shown in this dialog.
Declaration
public RadPrintDocument PrintDocument { get; set; }
Property Value
RadPrintDocument
|
ShowPreviewButton
If [true] a Preview button is shown, otherwise an OK button is shown.
Declaration
public bool ShowPreviewButton { get; set; }
Property Value
System.Boolean
|
Methods
ApplySettings()
Saves all settings from the dialog into the RadPrintDocument.
Declaration
protected virtual void ApplySettings()
CreateFormatControl()
Creates the specific control for editing the settings of the printed control.
Declaration
protected virtual Control CreateFormatControl()
Returns
System.Windows.Forms.Control
The that will be displayed on the first page of this dialog |
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
Overrides
LoadSettings()
Loads the settings when the dialog is shown.
Declaration
protected virtual void LoadSettings()
LocalizeStrings()
Declaration
protected virtual void LocalizeStrings()
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
ProcessCmdKey(ref Message, Keys)
Declaration
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
Parameters
System.Windows.Forms.Message
msg
|
System.Windows.Forms.Keys
keyData
|
Returns
System.Boolean
|
UnwireEvents()
Declaration
protected virtual void UnwireEvents()