VisualStateManager.GetVisualStateGroups(FrameworkElement) Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.