Share via


VisualStateManager.HasVisualStateGroups(VisualElement) Method

Definition

Returns true if element has one or more visual state groups associated with it. Otherwise, returns false.

public static bool HasVisualStateGroups (this Xamarin.Forms.VisualElement element);
static member HasVisualStateGroups : Xamarin.Forms.VisualElement -> bool

Parameters

element
VisualElement

The element to check.

Returns

System.Boolean

true if element has one or more visual state groups associated with it. Otherwise, false.

Applies to