ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml 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
    Syntax
    'Declaration
     
    Public Shared Function GetVisualStateGroup( _
       ByVal root As Windows.UI.Xaml.FrameworkElement, _
       ByVal groupName As System.String _
    ) As Windows.UI.Xaml.VisualStateGroup
    public static Windows.UI.Xaml.VisualStateGroup GetVisualStateGroup( 
       Windows.UI.Xaml.FrameworkElement root,
       System.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