C# Class MahApps.Metro.Controls.ToggleSwitch

Inheritance: System.Windows.Controls.ContentControl
Mostrar archivo Open project: Irdis/VSTalk Class Usage Examples

Public Properties

Property Type Description
ContentDirectionProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
IsCheckedProperty System.Windows.DependencyProperty
OffLabelProperty System.Windows.DependencyProperty
OnLabelProperty System.Windows.DependencyProperty
SwitchForegroundProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ChangeVisualState void
CheckedHandler void
ClickHandler void
IndeterminateHandler void
OnIsCheckedChanged void
SetDefaultContent void
ToggleSwitch_PreviewKeyUp void
UncheckedHandler void

Public Methods

Method Description
OnApplyTemplate ( ) : void
ToString ( ) : string
ToggleSwitch ( ) : System

Protected Methods

Method Description
OnContentChanged ( object oldContent, object newContent ) : void

Private Methods

Method Description
ChangeVisualState ( bool useTransitions ) : void
CheckedHandler ( object sender, RoutedEventArgs e ) : void
ClickHandler ( object sender, RoutedEventArgs e ) : void
IndeterminateHandler ( object sender, RoutedEventArgs e ) : void
OnIsCheckedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SetDefaultContent ( ) : void
ToggleSwitch_PreviewKeyUp ( object sender, System e ) : void
UncheckedHandler ( object sender, RoutedEventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnContentChanged() protected method

protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object
newContent object
return void

ToString() public method

public ToString ( ) : string
return string

ToggleSwitch() public method

public ToggleSwitch ( ) : System
return System

Property Details

ContentDirectionProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentDirectionProperty
return System.Windows.DependencyProperty

HeaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderProperty
return System.Windows.DependencyProperty

HeaderTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderTemplateProperty
return System.Windows.DependencyProperty

IsCheckedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsCheckedProperty
return System.Windows.DependencyProperty

OffLabelProperty public_oe static_oe property

public static DependencyProperty,System.Windows OffLabelProperty
return System.Windows.DependencyProperty

OnLabelProperty public_oe static_oe property

public static DependencyProperty,System.Windows OnLabelProperty
return System.Windows.DependencyProperty

SwitchForegroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows SwitchForegroundProperty
return System.Windows.DependencyProperty