Intersoft ClientUI Documentation
TryGetVisualStateGroup Method



The dependency object which visual state group to be retrieved.
The group name of which visual state group to be retrieved.
Try to get the visual state group of the specified dependency object.
Syntax
Public Shared Function TryGetVisualStateGroup( _
   ByVal dependencyObject As DependencyObject, _
   ByVal groupName As String _
) As VisualStateGroup
Dim dependencyObject As DependencyObject
Dim groupName As String
Dim value As VisualStateGroup
 
value = Utility.TryGetVisualStateGroup(dependencyObject, groupName)
public static VisualStateGroup TryGetVisualStateGroup( 
   DependencyObject dependencyObject,
   string groupName
)
public:
static VisualStateGroup^ TryGetVisualStateGroup( 
   DependencyObject^ dependencyObject,
   String^ groupName
) 

Parameters

dependencyObject
The dependency object which visual state group to be retrieved.
groupName
The group name of which visual state group to be retrieved.

Return Value

Returns visual state group object.
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