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 Rad
Declaration
public RadToggleSwitchButton()
Fields
CheckedContentProperty
Identifies the CheckedContent property.
Declaration
public static readonly DependencyProperty CheckedContentProperty
Field Value
System.
|
CheckedContentTemplateProperty
Identifies the CheckedContentTemplate property.
Declaration
public static readonly DependencyProperty CheckedContentTemplateProperty
Field Value
System.
|
CheckedTrackRadiusProperty
Identifies the CheckedTrackRadius property.
Declaration
public static readonly DependencyProperty CheckedTrackRadiusProperty
Field Value
System.
|
ContentPositionProperty
Identifies the ContentPosition property.
Declaration
public static readonly DependencyProperty ContentPositionProperty
Field Value
System.
|
ThumbHeightProperty
Identifies the ThumbHeight property.
Declaration
public static readonly DependencyProperty ThumbHeightProperty
Field Value
System.
|
ThumbWidthProperty
Identifies the ThumbWidth property.
Declaration
public static readonly DependencyProperty ThumbWidthProperty
Field Value
System.
|
TrackHeightProperty
Identifies the TrackHeight property.
Declaration
public static readonly DependencyProperty TrackHeightProperty
Field Value
System.
|
TrackWidthProperty
Identifies the TrackWidth property.
Declaration
public static readonly DependencyProperty TrackWidthProperty
Field Value
System.
|
UncheckedContentProperty
Identifies the UncheckedContent property.
Declaration
public static readonly DependencyProperty UncheckedContentProperty
Field Value
System.
|
UncheckedContentTemplateProperty
Identifies the UncheckedContentTemplate property.
Declaration
public static readonly DependencyProperty UncheckedContentTemplateProperty
Field Value
System.
|
UncheckedTrackRadiusProperty
Identifies the UncheckedTrackRadius property.
Declaration
public static readonly DependencyProperty UncheckedTrackRadiusProperty
Field Value
System.
|
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.
|
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.
|
CheckedTrackRadius
Gets or sets the corner radius of the checked switch button track.
Declaration
public double CheckedTrackRadius { get; set; }
Property Value
System.
|
ContentPosition
Gets or sets the position of the content area of the toggle switch button.
Declaration
public SwitchButtonContentPosition ContentPosition { get; set; }
Property Value
ThumbHeight
Gets or sets the height of the switch button thumb.
Declaration
public double ThumbHeight { get; set; }
Property Value
System.
|
ThumbWidth
Gets or sets the width of the switch button thumb.
Declaration
public double ThumbWidth { get; set; }
Property Value
System.
|
TrackHeight
Gets or sets the height of the switch button track.
Declaration
public double TrackHeight { get; set; }
Property Value
System.
|
TrackWidth
Gets or sets the width of the switch button track.
Declaration
public double TrackWidth { get; set; }
Property Value
System.
|
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.
|
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.
|
UncheckedTrackRadius
Gets or sets the corner radius of the unchecked switch button track.
Declaration
public double UncheckedTrackRadius { get; set; }
Property Value
System.
|
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes
(such as a rebuilding layout pass) call.
System.
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Creates a RadToggleButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.
|
Overrides
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |