Gets the VisualStateGroup with the given name, looking up the visual tree
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
Syntax
C# |
---|
public static VisualStateGroup GetVisualStateGroup( this FrameworkElement root, string groupName ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function GetVisualStateGroup ( _ root As FrameworkElement, _ groupName As String _ ) As VisualStateGroup |
Parameters
- root
- Type: System.Windows..::..FrameworkElement
Element to start from
- groupName
- Type: System..::..String
Name of the group to look for