Метод | Описание | |
---|---|---|
GoToVisualStateAsync ( this control, |
Goes to specified visual state, waiting for the transition to complete. If a state transition storyboard is not found - the task completes immediately. |
Метод | Описание | |
---|---|---|
GetStoryboardForVisualState ( |
Gets the state transition storyboard for the specified state.
|
public static GoToVisualStateAsync ( this control, |
||
control | this | /// Control to transition. /// |
visualStatesHost | /// FrameworkElement that defines the visual states /// (usually the root of the control's template). /// | |
stateGroupName | string | /// Name of the state group /// (speeds up the search for the state transition storyboard). /// |
stateName | string | /// State to transition to. /// |
Результат | System.Threading.Tasks.Task |