ComponentOne FinancialChart for WPF
C1.WPF Namespace / Extensions Class / GetVisualStateGroup Method
Element to start from
Name of the group to look for

In This Topic
    GetVisualStateGroup Method
    In This Topic
    Gets the VisualStateGroup with the given name, looking up the visual tree
    Public Shared Function GetVisualStateGroup( _
       ByVal root As FrameworkElement, _
       ByVal groupName As String _
    ) As VisualStateGroup
    Dim root As FrameworkElement
    Dim groupName As String
    Dim value As VisualStateGroup
    value = Extensions.GetVisualStateGroup(root, groupName)
    public static VisualStateGroup GetVisualStateGroup( 
       FrameworkElement root,
       string groupName
    static VisualStateGroup^ GetVisualStateGroup( 
       FrameworkElement^ root,
       String^ groupName


    Element to start from
    Name of the group to look for

    Return Value

    The group, if found, or null
    See Also