[]
        
(Showing Draft Content)

C1.WPF.Extensions.GetVisualStateGroup

GetVisualStateGroup Method

GetVisualStateGroup(FrameworkElement, string)

Gets the VisualStateGroup with the given name, looking up the visual tree

Declaration
public static VisualStateGroup GetVisualStateGroup(this FrameworkElement root, string groupName)
Parameters
Type Name Description
FrameworkElement root

Element to start from

string groupName

Name of the group to look for

Returns
Type Description
VisualStateGroup

The group, if found, or null