Share via


VisualStateManager.GetVisualStateGroups(VisualElement) Method

Definition

Returns the visual state groups that can be applied to the specified visual element.

public static System.Collections.Generic.IList<Xamarin.Forms.VisualStateGroup> GetVisualStateGroups (Xamarin.Forms.VisualElement visualElement);
static member GetVisualStateGroups : Xamarin.Forms.VisualElement -> System.Collections.Generic.IList<Xamarin.Forms.VisualStateGroup>

Parameters

visualElement
VisualElement

The visual element whose visual state groups to get.

Returns

System.Collections.Generic.IList<VisualStateGroup>

The visual state groups that can be applied to the specified visual element.

Applies to