ClassRadTaskDialogButton
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
RadTaskDialogButton()
Initializes a new instance of the RadTaskDialogButton class.
Declaration
public RadTaskDialogButton()
RadTaskDialogButton(string, bool, bool)
Initializes a new instance of the RadTaskDialogButton class.
Fields
FocusedProperty
Declaration
public static readonly RadProperty FocusedProperty
Field Value
Properties
Abort
Gets a RadTaskDialogButton, which indicates "Abort" action.
Declaration
public static RadTaskDialogButton Abort { get; }
Property Value
AllowCloseDialog
Gets or sets a value indicating, whether to close the RadTaskDialog when the button is clicked.
BoundPage
Gets the bound RadTaskDialogPage.
Declaration
public RadTaskDialogPage BoundPage { get; }
Property Value
Implements
Cancel
Gets a RadTaskDialogButton, which indicates "Cancel" action.
Declaration
public static RadTaskDialogButton Cancel { get; }
Property Value
Close
Gets a RadTaskDialogButton, which indicates "Close" action.
Declaration
public static RadTaskDialogButton Close { get; }
Property Value
Continue
Gets a RadTaskDialogButton, which indicates "Continue" action.
Declaration
public static RadTaskDialogButton Continue { get; }
Property Value
DrawFocusCues
Gets or sets a value indicating whether to draw focus cues when the button is focused.
Focused
Gets or sets a value indicating whether the button is focused.
Help
Gets a RadTaskDialogButton, which indicates "Help" action.
Declaration
public static RadTaskDialogButton Help { get; }
Property Value
Ignore
Gets a RadTaskDialogButton, which indicates "Ignore" action.
Declaration
public static RadTaskDialogButton Ignore { get; }
Property Value
No
Gets a RadTaskDialogButton, which indicates "No" action.
Declaration
public static RadTaskDialogButton No { get; }
Property Value
OK
Gets a RadTaskDialogButton, which indicates "OK" action.
Declaration
public static RadTaskDialogButton OK { get; }
Property Value
Retry
Gets a RadTaskDialogButton, which indicates "Retry" action.
Declaration
public static RadTaskDialogButton Retry { get; }
Property Value
ShowShieldIcon
Gets or sets a value indicating whether to display a shield icon.
TryAgain
Gets a RadTaskDialogButton, which indicates "TryAgain" action.
Declaration
public static RadTaskDialogButton TryAgain { get; }
Property Value
Yes
Gets a RadTaskDialogButton, which indicates "Yes" action.
Declaration
public static RadTaskDialogButton Yes { get; }
Property Value
Methods
Equals(object)
Compares an object with current instance and returns a value determining whether the two objects are equal.
GetHashCode()
Returns the hash code of the object.
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
OnClick(EventArgs)
Raises the Click event.
Declaration
protected override void OnClick(EventArgs e)
Parameters
e
Overrides
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
Operators
operator !=(RadTaskDialogButton, RadTaskDialogButton)
The != operator returns a value whether two RadTaskDialogButton objects are not equal.
Declaration
public static bool operator !=(RadTaskDialogButton b1, RadTaskDialogButton b2)
Parameters
b1
First button to be compared.
b2
Second button to be compared.
Returns
Whether the two objects are not equal.
operator ==(RadTaskDialogButton, RadTaskDialogButton)
The == operator returns a value whether two RadTaskDialogButton objects are equal.
Declaration
public static bool operator ==(RadTaskDialogButton b1, RadTaskDialogButton b2)
Parameters
b1
First button to be compared.
b2
Second button to be compared.
Returns
Whether the two objects are equal.