Class RadTaskDialogButton
A class that represents a button of RadTaskDialogPage
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskDialogButton : LightVisualButtonElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IRadTaskDialogControl, IRadTaskDialogPageFocusableElement
Constructors
RadTaskDialogButton()
Initializes a new instance of the RadTaskDialogButton class.
Declaration
public RadTaskDialogButton()
RadTaskDialogButton(String, Boolean, Boolean)
Initializes a new instance of the RadTaskDialogButton class.
Declaration
public RadTaskDialogButton(string text, bool enabled = true, bool allowCloseDialog = true)
Parameters
System.String
text
The 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. |
Fields
FocusedProperty
Properties
Abort
Gets a RadTaskDialogButton, which indicates "Abort" action.
Declaration
public static RadTaskDialogButton Abort { get; }
Property Value
RadTaskDialogButton
|
AllowCloseDialog
Gets or sets a value indicating, whether to close the RadTaskDialog when the button is clicked.
Declaration
public bool AllowCloseDialog { get; set; }
Property Value
System.Boolean
|
BoundPage
Gets the bound RadTaskDialogPage.
Declaration
public RadTaskDialogPage BoundPage { get; }
Property Value
RadTaskDialogPage
|
Implements
Cancel
Gets a RadTaskDialogButton, which indicates "Cancel" action.
Declaration
public static RadTaskDialogButton Cancel { get; }
Property Value
RadTaskDialogButton
|
Close
Gets a RadTaskDialogButton, which indicates "Close" action.
Declaration
public static RadTaskDialogButton Close { get; }
Property Value
RadTaskDialogButton
|
Continue
Gets a RadTaskDialogButton, which indicates "Continue" action.
Declaration
public static RadTaskDialogButton Continue { get; }
Property Value
RadTaskDialogButton
|
DrawFocusCues
Gets or sets a value indicating whether to draw focus cues when the button is focused.
Declaration
public bool DrawFocusCues { get; set; }
Property Value
System.Boolean
|
Focused
Gets or sets a value indicating whether the button is focused.
Declaration
public bool Focused { get; set; }
Property Value
System.Boolean
|
Implements
Help
Gets a RadTaskDialogButton, which indicates "Help" action.
Declaration
public static RadTaskDialogButton Help { get; }
Property Value
RadTaskDialogButton
|
Ignore
Gets a RadTaskDialogButton, which indicates "Ignore" action.
Declaration
public static RadTaskDialogButton Ignore { get; }
Property Value
RadTaskDialogButton
|
No
Gets a RadTaskDialogButton, which indicates "No" action.
Declaration
public static RadTaskDialogButton No { get; }
Property Value
RadTaskDialogButton
|
OK
Gets a RadTaskDialogButton, which indicates "OK" action.
Declaration
public static RadTaskDialogButton OK { get; }
Property Value
RadTaskDialogButton
|
Retry
Gets a RadTaskDialogButton, which indicates "Retry" action.
Declaration
public static RadTaskDialogButton Retry { get; }
Property Value
RadTaskDialogButton
|
ShowShieldIcon
Gets or sets a value indicating whether to display a shield icon.
Declaration
public bool ShowShieldIcon { get; set; }
Property Value
System.Boolean
|
TryAgain
Gets a RadTaskDialogButton, which indicates "TryAgain" action.
Declaration
public static RadTaskDialogButton TryAgain { get; }
Property Value
RadTaskDialogButton
|
Yes
Gets a RadTaskDialogButton, which indicates "Yes" action.
Declaration
public static RadTaskDialogButton Yes { get; }
Property Value
RadTaskDialogButton
|
Methods
Equals(Object)
Compares an object with current instance and returns a value determining whether the two objects are equal.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to be compared with current instance. |
Returns
System.Boolean
Whether the two objects are equal. |
Overrides
GetHashCode()
Returns the hash code of the object.
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnClick(EventArgs)
Declaration
protected override void OnClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
Declaration
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectangle, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Drawing.Rectangle
clipRectangle
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
Operators
Equality(RadTaskDialogButton, RadTaskDialogButton)
The == operator returns a value whether two RadTaskDialogButton objects are equal.
Declaration
public static bool operator ==(RadTaskDialogButton b1, RadTaskDialogButton b2)
Parameters
RadTaskDialogButton
b1
First button to be compared. |
RadTaskDialogButton
b2
Second button to be compared. |
Returns
System.Boolean
Whether the two objects are equal. |
Inequality(RadTaskDialogButton, RadTaskDialogButton)
The != operator returns a value whether two RadTaskDialogButton objects are not equal.
Declaration
public static bool operator !=(RadTaskDialogButton b1, RadTaskDialogButton b2)
Parameters
RadTaskDialogButton
b1
First button to be compared. |
RadTaskDialogButton
b2
Second button to be compared. |
Returns
System.Boolean
Whether the two objects are not equal. |
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
|