Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the value of the VisualStateManager.VisualStateGroups attached property.
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
Public Shared Function GetVisualStateGroups ( _
element As FrameworkElement _
) As IList(Of VisualStateGroup)
public static IList<VisualStateGroup> GetVisualStateGroups(
FrameworkElement element
)
public:
static IList<VisualStateGroup^>^ GetVisualStateGroups(
FrameworkElement^ element
)
static member GetVisualStateGroups :
element:FrameworkElement -> IList<VisualStateGroup>
public static function GetVisualStateGroups(
element : FrameworkElement
) : IList<VisualStateGroup>
Parameters
element
Type: FrameworkElementThe FrameworkElement from which to get the VisualStateManager.VisualStateGroups.
Return Value
Type: System.Collections.Generic.IList<VisualStateGroup>
The list of VisualStateGroups in the given element.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.