VisualStateManager.GoToState(VisualElement, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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