VisualStateGroup::CurrentState Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the VisualState that is currently applied to the control.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property VisualState^ CurrentState {
	VisualState^ get();
	internal: void set(VisualState^ value);
}

Property Value

Type: System.Windows::VisualState^

The VisualState that is currently applied to the control.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: