Share via


VisualStateManager.GoToState(VisualElement, String) Method

Definition

Transitions the specified visualElement to the state with the specified name.

public static bool GoToState (Xamarin.Forms.VisualElement visualElement, string name);
static member GoToState : Xamarin.Forms.VisualElement * string -> bool

Parameters

visualElement
VisualElement
name
System.String

Returns

System.Boolean

true if the transition was successful. Otherwise, false

Applies to