Class RadTaskDialogHeaderLayout
A class that represents the header layout of RadTaskDialogPage
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.TaskDialog
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogHeaderLayout : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTaskDialogHeaderLayout()
Initializes a new instance of the RadTaskDialogHeaderLayout class.
Declaration
public RadTaskDialogHeaderLayout()
RadTaskDialogHeaderLayout(RadTaskDialogIcon, String)
Initializes a new instance of the RadTaskDialogHeaderLayout class.
Declaration
public RadTaskDialogHeaderLayout(RadTaskDialogIcon icon, string text)
Parameters
RadTaskDialogIcon
icon
The icon element. |
System.String
text
The text. |
Properties
BackgroundElement
Gets the element responsible for the background of icon and header text.
Declaration
public LightVisualElement BackgroundElement { get; }
Property Value
LightVisualElement
|
ContentArea
Gets the content area, which holds the page text, expander(description) text, progress bar, radio buttons and the command link buttons
Declaration
public RadTaskDialogContentArea ContentArea { get; }
Property Value
RadTaskDialogContentArea
|
HeaderTextElement
Gets the header text element.
Declaration
public LightVisualElement HeaderTextElement { get; }
Property Value
LightVisualElement
|
Icon
Gets the icon element.
Declaration
public RadTaskDialogIcon Icon { get; set; }
Property Value
RadTaskDialogIcon
|
UseEqualHeaderAndIconHeight
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.
Declaration
public bool UseEqualHeaderAndIconHeight { get; set; }
Property Value
System.Boolean
|
UseWideContentArea
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.
Declaration
public bool UseWideContentArea { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateBackgroundElement()
Declaration
protected virtual LightVisualElement CreateBackgroundElement()
Returns
LightVisualElement
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateContentArea()
Declaration
protected virtual RadTaskDialogContentArea CreateContentArea()
Returns
RadTaskDialogContentArea
|
CreateHeaderTextElement()
Declaration
protected virtual TaskDialogLightVisualElement CreateHeaderTextElement()
Returns
TaskDialogLightVisualElement
|
CreateIcon()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnIconChanged()
Declaration
protected virtual void OnIconChanged()
ShouldArrangeChild(RadElement)
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|
Overrides
ShouldMeasureChild(RadElement)
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|