VisualTransition.To Property

Definition

Gets or sets the name of the VisualState to transition to.

Equivalent WinUI property: Microsoft.UI.Xaml.VisualTransition.To.

public:
 property Platform::String ^ To { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring To();

void To(winrt::hstring value);
public string To { get; set; }
var string = visualTransition.to;
visualTransition.to = string;
Public Property To As String
<object To="stateName"/>

Property Value

String

The name of the VisualState to transition to.

Applies to