C# Class MahApps.Metro.Controls.ToggleSwitch

Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: Irdis/VSTalk Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
ChangeVisualState void
CheckedHandler void
ClickHandler void
IndeterminateHandler void
OnIsCheckedChanged void
SetDefaultContent void
ToggleSwitch_PreviewKeyUp void
UncheckedHandler void

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void
ToString ( ) : string
ToggleSwitch ( ) : System

Méthodes protégées

Méthode Description
OnContentChanged ( object oldContent, object newContent ) : void

Private Methods

Méthode 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 méthode

public OnApplyTemplate ( ) : void
Résultat void

OnContentChanged() protected méthode

protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object
newContent object
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToggleSwitch() public méthode

public ToggleSwitch ( ) : System
Résultat System

Property Details

ContentDirectionProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentDirectionProperty
Résultat System.Windows.DependencyProperty

HeaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderProperty
Résultat System.Windows.DependencyProperty

HeaderTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderTemplateProperty
Résultat System.Windows.DependencyProperty

IsCheckedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsCheckedProperty
Résultat System.Windows.DependencyProperty

OffLabelProperty public_oe static_oe property

public static DependencyProperty,System.Windows OffLabelProperty
Résultat System.Windows.DependencyProperty

OnLabelProperty public_oe static_oe property

public static DependencyProperty,System.Windows OnLabelProperty
Résultat System.Windows.DependencyProperty

SwitchForegroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows SwitchForegroundProperty
Résultat System.Windows.DependencyProperty