RadTaskDialogPage
A class that represents the content of RadTaskDialogForm
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialogPage : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IRadTaskDialogPage
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTaskDialogPage...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadTaskDialogPage class.
public RadTaskDialogPage()
Properties
Gets or sets a value indicating whether the page buttons and radio buttons will have focused state.
public bool AllowButtonsFocus { get; set; }
Gets or sets a value indicating whether to show the close button of the RadTaskDialogForm
public bool AllowCancel { get; set; }
Gets or sets a value indicating whether to show the minimize button of the RadTaskDialogForm
public bool AllowMinimize { get; set; }
Gets the bottom layout of the page, which holds the CommandArea, Footnote and the bottom description.
public RadTaskDialogBottomLayout BottomLayout { get; }
Gets the bounds RadTaskDialogForm
public RadTaskDialogForm BoundDialog { get; }
Gets or sets the text of the RadTaskDialogForm when this page is shown in the dialog.
public string Caption { get; set; }
Gets the clicked button of the page.
public RadTaskDialogButton ClickedButton { get; }
Gets the command area, which holds the Expander, Verification and CommandAreaButtons.
public RadTaskDialogCommandArea CommandArea { get; }
Gets or sets the command button collection.
public RadItemOwnerGenericCollection<RadTaskDialogButton> CommandAreaButtons { get; set; }
Gets the content area, which holds the page text, expander(description) text, progress bar, radio buttons and the command link buttons
public RadTaskDialogContentArea ContentArea { get; }
Gets or sets the RadTaskDialogCommandLinkButton collection.
public RadItemOwnerGenericCollection<RadTaskDialogCommandLinkButton> ContentAreaButtons { get; set; }
Gets or sets the default buttons of the page, which has the initial focus when the page is shown.
public RadTaskDialogButton DefaultButton { get; set; }
Gets the vertical stack that holds the HeaderLayout and the BottomLayout
public StackLayoutPanel ElementsStack { get; }
Gets or sets the page expander.
public RadTaskDialogExpander Expander { get; set; }
Gets or sets the footnote.
public RadTaskDialogFootnote Footnote { get; set; }
Gets the header layout, which holds the Icon, header text element and the ContentArea
public RadTaskDialogHeaderLayout HeaderLayout { get; }
Gets or sets the icon.
public RadTaskDialogIcon Icon { get; set; }
Gets or sets the page progress bar.
public RadTaskDialogProgressBar ProgressBar { get; set; }
Gets or sets the RadTaskDialogRadioButton collection.
public RadItemOwnerGenericCollection<RadTaskDialogRadioButton> RadioButtons { get; set; }
Gets or sets a value indicating whether the page layout is right to left.
public bool RightToLeftLayout { get; set; }
Gets or sets a value indicating whether to use its default size or the size of the page(form) will be according to the content of the page.
public bool SizeToContent { get; set; }
Gets or sets a value indicating whether the header text and the icon will have equal heights. If [true] the Icon and HeaderTextElement will have equal height and the text and image will be aligned vertically. If [false] Icon and HeaderTextElement will have unique height, just to fit their content.
public bool UseEqualHeaderAndIconHeight { get; set; }
Gets or sets a value indicating, whether the content area will occupy the full width of the RadTaskDialogPage. If [false] the ContentArea will respect the width of the Icon. If [true] the ContentArea will occupy all the available width of the page.
public bool UseWideContentArea { get; set; }
Gets or sets the page verification checkbox.
public RadTaskDialogVerificationCheckBox Verification { get; set; }
Methods
Notifies the page, when it is added to a RadTaskDialogForm
protected virtual RadTaskDialogBottomLayout CreateBottomLayout()
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
protected virtual RadTaskDialogHeaderLayout CreateHeaderLayout()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Navigates the RadTaskDialogForm to another page.
public void Navigate(RadTaskDialogPage nextPage)
The next page to be displayed.
protected virtual bool ProcessHelpRequested(HelpEventArgs hevent)
protected virtual bool ProcessKeyDown(PreviewKeyDownEventArgs e)
Events
Raised after this RadTaskDialogPage is bound to a task dialog: after the dialog was created or navigated.
public event EventHandler Created
Raised when this RadTaskDialogPage is about to be unbound from a task dialog: when the dialog is about to be destroyed or about to navigate to another page.
public event EventHandler Destroyed
Raised when the user presses F1 or clicks the "Help" standard button
public event EventHandler HelpRequest