CurrentState Property
Collapse the table of content
Expand the table of content

VisualStateGroup.CurrentState Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the most recently set VisualState from a successful call to the GoToState method.

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

'Declaration
Public ReadOnly Property CurrentState As VisualState

Property Value

Type: System.Windows.VisualState
The most recently set VisualState from a successful call to the GoToState method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft