ClassRadToggleButton
A Toggle button control.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadToggleButton : ToggleButton, ICommandSource
Inheritance: objectRadToggleButton
Implements:
Constructors
RadToggleButton()
Initializes a new instance of the RadToggleButton class.
Declaration
public RadToggleButton()
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
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates a RadToggleButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnPointerEntered(PointerRoutedEventArgs)
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnPointerExited(PointerRoutedEventArgs)
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs