C# Class WinRTXamlToolkit.Controls.Extensions.VisualStateExtensions

Defines an attached property that controls the visual state of the element based on the value.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
StateProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
GetState ( DependencyObject d ) : string

Gets the State property. This dependency property indicates the VisualState that the associated control should be set to.

SetState ( DependencyObject d, string value ) : void

Sets the State property. This dependency property indicates the VisualState that the associated control should be set to.

Private Methods

Méthode Description
OnStateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the State property.

Method Details

GetState() public static méthode

Gets the State property. This dependency property indicates the VisualState that the associated control should be set to.
public static GetState ( DependencyObject d ) : string
d Windows.UI.Xaml.DependencyObject
Résultat string

SetState() public static méthode

Sets the State property. This dependency property indicates the VisualState that the associated control should be set to.
public static SetState ( DependencyObject d, string value ) : void
d Windows.UI.Xaml.DependencyObject
value string
Résultat void

Property Details

StateProperty public_oe static_oe property

State Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml StateProperty
Résultat Windows.UI.Xaml.DependencyProperty