Class RadTaskDialogExpander
A class that represents the expander of RadTaskDialogPage
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogExpander : LightVisualButtonElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IRadTaskDialogControl
Constructors
RadTaskDialogExpander()
Initializes a new instance of the RadTaskDialogExpander class.
Declaration
public RadTaskDialogExpander()
RadTaskDialogExpander(String)
Initializes a new instance of the RadTaskDialogExpander class.
Declaration
public RadTaskDialogExpander(string text)
Parameters
System.String
text
The description text of the expander. |
Fields
ExpandedProperty
Properties
BoundPage
Gets the bound RadTaskDialogPage.
Declaration
public RadTaskDialogPage BoundPage { get; }
Property Value
RadTaskDialogPage
|
Implements
CollapsedButtonText
Gets or sets the button text when the button is collapsed. Note that when this text is set to an System.String.Empty or null, the default text from the localization provider will be displayed.
Declaration
public string CollapsedButtonText { get; set; }
Property Value
System.String
|
ElementsStack
Gets the horizontal stack with ExpandElement and TextElement
Declaration
public StackLayoutPanel ElementsStack { get; }
Property Value
StackLayoutPanel
|
Expanded
Gets or sets a value indicating whether the button is in expanded state. In expanded state the RadTaskDialogPage shows its description.
Declaration
public bool Expanded { get; set; }
Property Value
System.Boolean
|
ExpandedButtonText
Gets or sets the button text when the button is expanded. Note that when this text is set to an System.String.Empty or null, the default text from the localization provider will be displayed.
Declaration
public string ExpandedButtonText { get; set; }
Property Value
System.String
|
ExpandElement
Gets the expand element(the circle button).
Declaration
public LightVisualElement ExpandElement { get; }
Property Value
LightVisualElement
|
Position
Gets or sets the position of the expander text.
Declaration
public RadTaskDialogExpanderPosition Position { get; set; }
Property Value
RadTaskDialogExpanderPosition
|
Text
Gets or sets the description text of the expander.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
TextElement
Gets the text element.
Declaration
public LightVisualElement TextElement { get; }
Property Value
LightVisualElement
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateElementsStack()
CreateExpandElement()
Declaration
protected virtual TaskDialogExpanderButtonElement CreateExpandElement()
Returns
TaskDialogExpanderButtonElement
|
CreateTextElement()
Declaration
protected virtual TaskDialogExpanderButtonElement CreateTextElement()
Returns
TaskDialogExpanderButtonElement
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnClick(EventArgs)
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnExpandedChanged()
Declaration
protected virtual void OnExpandedChanged()
ToggleExpandCollapse()
Toggles the expander. If the button is expanded it will be collapsed and vice-versa.
Declaration
public virtual void ToggleExpandCollapse()
UpdateVisibility()
Declaration
protected virtual void UpdateVisibility()
Events
ExpandedChanged
An event that is fired when the expander is expanded or collapsed.
Declaration
public event EventHandler ExpandedChanged
Event Type
System.EventHandler
|
Explicit Interface Implementations
IRadTaskDialogControl.get_Tag()
Declaration
object IRadTaskDialogControl.get_Tag()
Returns
System.Object
|
Implements
IRadTaskDialogControl.set_Tag(Object)
Declaration
void IRadTaskDialogControl.set_Tag(object value)
Parameters
System.Object
value
|