Intersoft ClientUI Documentation
GetVisualState Method



An element of dependency object type.
The state group of the visual state to be retrieved.
The visual state/transition name to be retrieved.
Gets the visual state of the specified source, group and state name.
Syntax
Public Shared Function GetVisualState( _
   ByVal source As DependencyObject, _
   ByVal stateGroup As String, _
   ByVal stateName As String _
) As VisualState
Dim source As DependencyObject
Dim stateGroup As String
Dim stateName As String
Dim value As VisualState
 
value = Utility.GetVisualState(source, stateGroup, stateName)
public static VisualState GetVisualState( 
   DependencyObject source,
   string stateGroup,
   string stateName
)
public:
static VisualState^ GetVisualState( 
   DependencyObject^ source,
   String^ stateGroup,
   String^ stateName
) 

Parameters

source
An element of dependency object type.
stateGroup
The state group of the visual state to be retrieved.
stateName
The visual state/transition name to be retrieved.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Utility Class
Utility Members

Send Feedback