Class RadTaskDialogCommandLinkButton
A class that represents a command link button of RadTaskDialogPage
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogCommandLinkButton : RadTaskDialogButton, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IRadTaskDialogControl, IRadTaskDialogPageFocusableElement
Constructors
RadTaskDialogCommandLinkButton()
Initializes a new instance of the RadTaskDialogCommandLinkButton class.
Declaration
public RadTaskDialogCommandLinkButton()
RadTaskDialogCommandLinkButton(String, String, Boolean, Boolean)
Initializes a new instance of the RadTaskDialogCommandLinkButton class.
Declaration
public RadTaskDialogCommandLinkButton(string text, string descriptionText = null, bool enabled = true, bool allowCloseDialog = true)
Parameters
System.String
text
The text of the button. |
System.String
descriptionText
The description text of the button. |
System.Boolean
enabled
The enabled state of the button. |
System.Boolean
allowCloseDialog
Whether to close the dialog when the button is pressed. |
Properties
DescriptionText
Gets or sets the description text.
Declaration
public string DescriptionText { get; set; }
Property Value
System.String
|
DescriptionTextElement
Gets the description text element.
Declaration
public LightVisualElement DescriptionTextElement { get; }
Property Value
LightVisualElement
|
ImageElement
Gets the image element.
Declaration
public LightVisualElement ImageElement { get; }
Property Value
LightVisualElement
|
MainStackPanel
Gets the main stack, which holds the ImageElement and the TextsStackPanel
Declaration
public TaskDialogStackLayoutPanel MainStackPanel { get; }
Property Value
TaskDialogStackLayoutPanel
|
TextElement
Gets the text element.
Declaration
public LightVisualElement TextElement { get; }
Property Value
LightVisualElement
|
TextsStackPanel
Gets the stack with TextElement and DescriptionTextElement
Declaration
public StackLayoutPanel TextsStackPanel { get; }
Property Value
StackLayoutPanel
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDescriptionTextElement()
Declaration
protected virtual LightVisualElement CreateDescriptionTextElement()
Returns
LightVisualElement
|
CreateImageElement()
CreateMainStack()
Declaration
protected virtual TaskDialogStackLayoutPanel CreateMainStack()
Returns
TaskDialogStackLayoutPanel
|
CreateTextElement()
CreateTextsStack()
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|