Class RadToggleSwitchButton
A ToggleSwitch button control.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Buttons")]
public class RadToggleSwitchButton : RadToggleButton
Constructors
RadToggleSwitchButton()
Initializes a new instance of the RadToggleSwitchButton class.
Declaration
public RadToggleSwitchButton()
Fields
CheckedContentProperty
Identifies the CheckedContent property.
Declaration
public static readonly DependencyProperty CheckedContentProperty
Field Value
System.Windows.DependencyProperty
|
CheckedContentTemplateProperty
Identifies the CheckedContentTemplate property.
Declaration
public static readonly DependencyProperty CheckedContentTemplateProperty
Field Value
System.Windows.DependencyProperty
|
CheckedTrackRadiusProperty
Identifies the CheckedTrackRadius property.
Declaration
public static readonly DependencyProperty CheckedTrackRadiusProperty
Field Value
System.Windows.DependencyProperty
|
ContentPositionProperty
Identifies the ContentPosition property.
Declaration
public static readonly DependencyProperty ContentPositionProperty
Field Value
System.Windows.DependencyProperty
|
ThumbHeightProperty
Identifies the ThumbHeight property.
Declaration
public static readonly DependencyProperty ThumbHeightProperty
Field Value
System.Windows.DependencyProperty
|
ThumbWidthProperty
Identifies the ThumbWidth property.
Declaration
public static readonly DependencyProperty ThumbWidthProperty
Field Value
System.Windows.DependencyProperty
|
TrackHeightProperty
Identifies the TrackHeight property.
Declaration
public static readonly DependencyProperty TrackHeightProperty
Field Value
System.Windows.DependencyProperty
|
TrackWidthProperty
Identifies the TrackWidth property.
Declaration
public static readonly DependencyProperty TrackWidthProperty
Field Value
System.Windows.DependencyProperty
|
UncheckedContentProperty
Identifies the UncheckedContent property.
Declaration
public static readonly DependencyProperty UncheckedContentProperty
Field Value
System.Windows.DependencyProperty
|
UncheckedContentTemplateProperty
Identifies the UncheckedContentTemplate property.
Declaration
public static readonly DependencyProperty UncheckedContentTemplateProperty
Field Value
System.Windows.DependencyProperty
|
UncheckedTrackRadiusProperty
Identifies the UncheckedTrackRadius property.
Declaration
public static readonly DependencyProperty UncheckedTrackRadiusProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CheckedContent
Gets or sets the content that is displayed when the toggle switch is in the checked state.
Declaration
public object CheckedContent { get; set; }
Property Value
System.Object
|
CheckedContentTemplate
Gets or sets the template that defines the appearance of the control's checked state content.
Declaration
public DataTemplate CheckedContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
CheckedTrackRadius
Gets or sets the corner radius of the checked switch button track.
Declaration
public double CheckedTrackRadius { get; set; }
Property Value
System.Double
|
ContentPosition
Gets or sets the position of the content area of the toggle switch button.
Declaration
public SwitchButtonContentPosition ContentPosition { get; set; }
Property Value
SwitchButtonContentPosition
|
ThumbHeight
Gets or sets the height of the switch button thumb.
Declaration
public double ThumbHeight { get; set; }
Property Value
System.Double
|
ThumbWidth
Gets or sets the width of the switch button thumb.
Declaration
public double ThumbWidth { get; set; }
Property Value
System.Double
|
TrackHeight
Gets or sets the height of the switch button track.
Declaration
public double TrackHeight { get; set; }
Property Value
System.Double
|
TrackWidth
Gets or sets the width of the switch button track.
Declaration
public double TrackWidth { get; set; }
Property Value
System.Double
|
UncheckedContent
Gets or sets the content that is displayed when the toggle switch is in the unchecked state.
Declaration
public object UncheckedContent { get; set; }
Property Value
System.Object
|
UncheckedContentTemplate
Gets or sets the template that defines the appearance of the control's unchecked state content.
Declaration
public DataTemplate UncheckedContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
UncheckedTrackRadius
Gets or sets the corner radius of the unchecked switch button track.
Declaration
public double UncheckedTrackRadius { get; set; }
Property Value
System.Double
|
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Creates a RadToggleButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |