Class RadTaskDialogControlElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.TaskDialog
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogControlElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTaskDialogControlElement()
Declaration
public RadTaskDialogControlElement()
Properties
Page
Get or sets the Rad
Declaration
public RadTaskDialogPage Page { get; set; }
Property Value
PageDefaultWidth
Gets or sets the default width of the page used when Size
Declaration
public int PageDefaultWidth { get; set; }
Property Value
System.
|
PageMaxWidth
Gets or sets the maximal width of the page used when Size
Declaration
public int PageMaxWidth { get; set; }
Property Value
System.
|
PageMinWidth
Gets or sets the minimal width of the page used when Size
Declaration
public int PageMinWidth { get; set; }
Property Value
System.
|
Methods
ArrangeOverride(SizeF)
Arranges the Rad
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The size that is available for element. |
Returns
System. The rectangle occupied by the element. Usually |
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateHorizontalScrollBarElement()
Creates a horizontal scrollbar element.
Declaration
protected virtual RadScrollBarElement CreateHorizontalScrollBarElement()
Returns
Rad The scrollbar. |
CreateVerticalScrollBarElement()
Creates a vertical scrollbar element.
Declaration
protected virtual RadScrollBarElement CreateVerticalScrollBarElement()
Returns
Rad The scrollbar. |
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the Rad
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System. The size that is available to the Rad |
Returns
System. The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnDesiredSizeChanged(SizeF)
Called when the DesiredSize of the page is changed.
Declaration
protected virtual void OnDesiredSizeChanged(SizeF desiredSize)
Parameters
System. The desired size. |
ProcessHelpRequested(HelpEventArgs)
Called when a HelpRequested event is raised in the parent Rad
Declaration
protected virtual bool ProcessHelpRequested(HelpEventArgs hevent)
Parameters
System. The event arguments. |
Returns
System. Whether the page has handled the event. |
ProcessKeyDown(PreviewKeyDownEventArgs)
Called when a ProcessKeyDown event is raised in the parent Rad
Declaration
protected virtual bool ProcessKeyDown(PreviewKeyDownEventArgs e)
Parameters
System. The event arguments. |
Returns
System. Whether the page has handled the event. |
ShouldArrangeChild(RadElement)
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
Rad The child. |
Returns
System. Whether the child will be arranged in ArrangeOverride. |
Overrides
ShouldMeasureChild(RadElement)
Gets a value indicating, whether a child will be measured during the MeasureOverride.
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
Rad The child. |
Returns
System. Whether the child will be measured in MeasureOverride. |