RadTaskDialogButton
A class that represents a button of RadTaskDialogPage
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTaskDialogButton : LightVisualButtonElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IRadTaskDialogControl, IRadTaskDialogPageFocusableElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementLightVisualButtonElementRadTaskDialogButton...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadTaskDialogButton class.
public RadTaskDialogButton()
Initializes a new instance of the RadTaskDialogButton class.
Fields
public static readonly RadProperty FocusedProperty
Properties
Gets a RadTaskDialogButton, which indicates "Abort" action.
public static RadTaskDialogButton Abort { get; }
Gets or sets a value indicating, whether to close the RadTaskDialog when the button is clicked.
public bool AllowCloseDialog { get; set; }
Gets the bound RadTaskDialogPage.
public RadTaskDialogPage BoundPage { get; }
Implements:
Gets a RadTaskDialogButton, which indicates "Cancel" action.
public static RadTaskDialogButton Cancel { get; }
Gets a RadTaskDialogButton, which indicates "Close" action.
public static RadTaskDialogButton Close { get; }
Gets a RadTaskDialogButton, which indicates "Continue" action.
public static RadTaskDialogButton Continue { get; }
Gets or sets a value indicating whether to draw focus cues when the button is focused.
public bool DrawFocusCues { get; set; }
Gets or sets a value indicating whether the button is focused.
public bool Focused { get; set; }
Implements:
Gets a RadTaskDialogButton, which indicates "Help" action.
public static RadTaskDialogButton Help { get; }
Gets a RadTaskDialogButton, which indicates "Ignore" action.
public static RadTaskDialogButton Ignore { get; }
Gets a RadTaskDialogButton, which indicates "No" action.
public static RadTaskDialogButton No { get; }
Gets a RadTaskDialogButton, which indicates "OK" action.
public static RadTaskDialogButton OK { get; }
Gets a RadTaskDialogButton, which indicates "Retry" action.
public static RadTaskDialogButton Retry { get; }
Gets or sets a value indicating whether to display a shield icon.
public bool ShowShieldIcon { get; set; }
Gets a RadTaskDialogButton, which indicates "TryAgain" action.
public static RadTaskDialogButton TryAgain { get; }
Gets a RadTaskDialogButton, which indicates "Yes" action.
public static RadTaskDialogButton Yes { get; }
Methods
Returns the hash code of the object.
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Raises the Click event.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Operators
The != operator returns a value whether two RadTaskDialogButton objects are not equal.
public static bool operator !=(RadTaskDialogButton b1, RadTaskDialogButton b2)
First button to be compared.
b2RadTaskDialogButtonSecond button to be compared.
Returns:Whether the two objects are not equal.
The == operator returns a value whether two RadTaskDialogButton objects are equal.
public static bool operator ==(RadTaskDialogButton b1, RadTaskDialogButton b2)
First button to be compared.
b2RadTaskDialogButtonSecond button to be compared.
Returns:Whether the two objects are equal.