ComponentOne FinancialChart for WPF
GetVisualStateGroup Method



C1.WPF Namespace > Extensions Class : GetVisualStateGroup Method
Element to start from
Name of the group to look for
Gets the VisualStateGroup with the given name, looking up the visual tree
Syntax
'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
See Also

Reference

Extensions Class
Extensions Members