VisualStateManager::GetVisualStateGroups Method (FrameworkElement^)

 

Gets the VisualStateManager::VisualStateGroups attached property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static IList^ GetVisualStateGroups(
	FrameworkElement^ obj
)

Parameters

obj
Type: System.Windows::FrameworkElement^

The element to get the VisualStateManager::VisualStateGroups attached property from.

Return Value

Type: System.Collections::IList^

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

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: