Share via


VisualStateManager.SetVisualStateGroups Method

Definition

Associates a list of visual state groups with a visual element.

public static void SetVisualStateGroups (Xamarin.Forms.VisualElement visualElement, Xamarin.Forms.VisualStateGroupList value);
static member SetVisualStateGroups : Xamarin.Forms.VisualElement * Xamarin.Forms.VisualStateGroupList -> unit

Parameters

visualElement
VisualElement
value
VisualStateGroupList

The list of visual state groups to associate with visualElement.

Applies to