'Declaration
<ExtensionAttribute()> Public Shared Function GetVisualStateGroup( _ ByVal root As FrameworkElement, _ ByVal groupName As String _ ) As VisualStateGroup
'Usage
Dim root As FrameworkElement Dim groupName As String Dim value As VisualStateGroup value = Extensions.GetVisualStateGroup(root, groupName)
[Extension()] public static VisualStateGroup GetVisualStateGroup( FrameworkElement root, string groupName )
[Extension()] public: static VisualStateGroup^ GetVisualStateGroup( FrameworkElement^ root, String^ groupName )
Parameters
- root
- Element to start from
- groupName
- Name of the group to look for
Return Value
The group, if found, or null