C# Class WinRTXamlToolkit.Controls.Extensions.VisualStateExtensions

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

Public Properties

Property Type Description
StateProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method 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

Method Description
OnStateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the State property.

Method Details

GetState() public static method

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
return string

SetState() public static method

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
return void

Property Details

StateProperty public_oe static_oe property

State Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml StateProperty
return Windows.UI.Xaml.DependencyProperty