VisualStateManager.GetVisualStateGroups(FrameworkElement) Method

Definition

Gets the VisualStateGroups attached property.

public:
 static System::Collections::IList ^ GetVisualStateGroups(System::Windows::FrameworkElement ^ obj);
public static System.Collections.IList GetVisualStateGroups (System.Windows.FrameworkElement obj);
static member GetVisualStateGroups : System.Windows.FrameworkElement -> System.Collections.IList
Public Shared Function GetVisualStateGroups (obj As FrameworkElement) As IList

Parameters

obj
FrameworkElement

The element to get the VisualStateGroups attached property from.

Returns

The collection of VisualStateGroup objects that is associated with the specified object.

Applies to