ClassRadButton
A Button control.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadButton : Button, ICommandSource
Inheritance: objectRadButton
Derived Classes:
Implements:
Constructors
RadButton()
Initializes a new instance of the RadButton class.
Declaration
public RadButton()
Fields
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
DependencyProperty
CommandProperty
Identifies the Command property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
DependencyProperty
CommandTargetProperty
Identifies the CommandTarget property.
Declaration
public static readonly DependencyProperty CommandTargetProperty
Field Value
DependencyProperty
Properties
Command
Gets the command that will be executed when the command source is invoked. This is a dependency property.
Declaration
[TypeConverter(typeof(CommandConverter))]
public ICommand Command { get; set; }
Property Value
Implements
CommandParameter
Represents a user defined data value that can be passed to the command when it is executed. This is a dependency property.
Declaration
public object CommandParameter { get; set; }
Property Value
Implements
CommandTarget
The object that the command is being executed on. This is a dependency property.
Declaration
public UIElement CommandTarget { get; set; }
Property Value
UIElement
Implements
Methods
ExecuteCommand()
Declaration
protected void ExecuteCommand()
OnCreateAutomationPeer()
Creates a RadButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer