Definition
Namespace:Telerik.WinControls.UI.TaskDialog
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialogControlElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTaskDialogControlElement...
Implements:
Inherited Members
Constructors
public RadTaskDialogControlElement()
Properties
Get or sets the RadTaskDialogPage, which is used to display the information and interaction.
public RadTaskDialogPage Page { get; set; }
Gets or sets the default width of the page used when SizeToContent is [false]. Note that this property getter considers the PageMinWidth and PageMaxWidth properties.
public int PageDefaultWidth { get; set; }
Gets or sets the maximal width of the page used when SizeToContent is [true].
public int PageMaxWidth { get; set; }
Gets or sets the minimal width of the page used when SizeToContent is [true].
public int PageMinWidth { get; set; }
Methods
Arranges the RadTaskDialogControlElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF finalSize)
The size that is available for element.
Returns:The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides:
In this method call to the Arrange method of each child must be made.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Creates a horizontal scrollbar element.
protected virtual RadScrollBarElement CreateHorizontalScrollBarElement()
The scrollbar.
Creates a vertical scrollbar element.
protected virtual RadScrollBarElement CreateVerticalScrollBarElement()
The scrollbar.
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.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadTaskDialogControlElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadTaskDialogControlElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Called when the DesiredSize of the page is changed.
protected virtual void OnDesiredSizeChanged(SizeF desiredSize)
The desired size.
Called when a HelpRequested event is raised in the parent RadTaskDialogControl control.
protected virtual bool ProcessHelpRequested(HelpEventArgs hevent)
The event arguments.
Returns:Whether the page has handled the event.
Called when a ProcessKeyDown event is raised in the parent RadTaskDialogControl control.
protected virtual bool ProcessKeyDown(PreviewKeyDownEventArgs e)
The event arguments.
Returns:Whether the page has handled the event.
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
protected override bool ShouldArrangeChild(RadElement child)
The child.
Returns:Whether the child will be arranged in ArrangeOverride.
Overrides:
Gets a value indicating, whether a child will be measured during the MeasureOverride.
protected override bool ShouldMeasureChild(RadElement child)
The child.
Returns:Whether the child will be measured in MeasureOverride.
Overrides: