VisualStateManager.GetVisualStateGroups Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the value of the VisualStateManager.VisualStateGroups attached property.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- obj
- Type: System.Windows.FrameworkElement
The element from which to get the VisualStateManager.VisualStateGroups.
Return Value
Type: System.Collections.IListThe collection of VisualStateGroup objects that is associated with the specified object.
| Exception | Condition |
|---|---|
| ArgumentNullException | obj is null. |
Show: