Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Updated Wiki: ToggleSwitch

$
0
0

ToggleSwitch

Only available in the Plus Edition

Derives from Control

The ToggleSwitch control is a fully customizable on/off switch that can be used to enhance the UI experience.

toggleswitch.jpg

Properties

Property Description
IsChecked Gets or sets if the ToggleSwitch is currently checked.
IsCheckedLeft Gets or sets if the Checked value is on the Left side.
CornerRadius Gets or sets the radius of the corner of the toggleswitch
OuterMargin Gets or sets the OuterMargin of the ToggleSwitch.
InnerMargin Gets or sets the InnerMargin of the ToggleSwitch.
CheckedLabel Gets or sets the Checked Label.
CheckedTooltip Gets or sets the Checked ToolTip.
CheckedForeground Gets or sets the Brush for the Foreground of the Checked content.
CheckedBackground Gets or sets the Brush for the Background of the Checked content.
UncheckedLabel Gets or sets the Unchecked Label.
UncheckedTooltip Gets or sets the Unchecked ToolTip.
UncheckedForeground Gets or sets the Brush for the Foreground of the Unchecked content.
UncheckedBackground Gets or sets the Brush for the Background of the Unchecked content.
ThumbWidth Gets or sets the Width of the Thumb.
ThumbElasticity Gets or sets the Elasticity of the Thumb.
ThumbLeftContent Gets or sets the Thumb's Content Left side.
ThumbRightContent Gets or sets the Thumb's Content Right side.
ThumbForeground Gets or sets the Brush for the Foreground of the Thumb.
ThumbBackground Gets or sets the Brush for the Background of the Thumb.
ThumbBorderBrush Gets or sets the Brush for the Border of the Thumb.
ThumbBorderThickness Gets or sets the BorderThickness of the Thumb.
ThumbHoverBackground Gets or sets the Brush for the Background of the Thumb Hover.
ThumbHoverBorderBrush Gets or sets the Brush for the BorderBrush of the Thumb Hover.
ThumbPressedBackground Gets or sets the Brush for the Background of the Thumb Pressed.
ThumbPressedBorderBackground Gets or sets the Brush for the BorderBrush of the Thumb Pressed.

Events

Event Description
IsCheckedValue Raised when the IsChecked property changes
IsCheckedLeftValue Raised when the IsCheckedLeft property changes


Support this project, check out the Plus Edition.
---

Viewing all articles
Browse latest Browse all 4964


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>