GetVisualStateGroup Method
In This Topic
Gets the VisualStateGroup with the given name, looking up the visual tree
Syntax
'Declaration
Public Shared Function GetVisualStateGroup( _
ByVal As Windows.UI.Xaml.FrameworkElement, _
ByVal As System.String _
) As Windows.UI.Xaml.VisualStateGroup
public static Windows.UI.Xaml.VisualStateGroup GetVisualStateGroup(
Windows.UI.Xaml.FrameworkElement ,
System.string
)
Parameters
- root
- Element to start from
- groupName
- Name of the group to look for
Return Value
The group, if found, or null
See Also