Share via


VisualStateUtilities.GetVisualStateGroups Method

Gets the value of the VisualStateManager.VisualStateGroups attached property.

Namespace: Microsoft.Expression.Interactivity
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
Public Shared Function GetVisualStateGroups ( _
    targetObject As FrameworkElement _
) As IList
'Usage
Dim targetObject As FrameworkElement
Dim returnValue As IList

returnValue = VisualStateUtilities.GetVisualStateGroups(targetObject)
public static IList GetVisualStateGroups (
    FrameworkElement targetObject
)
public:
static IList^ GetVisualStateGroups (
    FrameworkElement^ targetObject
)
public static IList GetVisualStateGroups (
    FrameworkElement targetObject
)
public static function GetVisualStateGroups (
    targetObject : FrameworkElement
) : IList

Parameters

targetObject

The element from which to get the VisualStateManager.VisualStateGroups.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VisualStateUtilities Class
VisualStateUtilities Members
Microsoft.Expression.Interactivity Namespace