Gets the VisualStateGroup with the given name, looking up the visual tree
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.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