C# Класс VLC_WINRT.Utility.Helpers.AwaitableUI.ControlExtensions

Extension methods for Control class.
Показать файл Открыть проект

Открытые методы

Метод Описание
GoToVisualStateAsync ( this control, FrameworkElement visualStatesHost, string stateGroupName, string stateName ) : System.Threading.Tasks.Task

Goes to specified visual state, waiting for the transition to complete.

If a state transition storyboard is not found - the task completes immediately.

Приватные методы

Метод Описание
GetStoryboardForVisualState ( FrameworkElement visualStatesHost, string stateGroupName, string stateName ) : Storyboard

Gets the state transition storyboard for the specified state.

Описание методов

GoToVisualStateAsync() публичный статический Метод

Goes to specified visual state, waiting for the transition to complete.
If a state transition storyboard is not found - the task completes immediately.
public static GoToVisualStateAsync ( this control, FrameworkElement visualStatesHost, string stateGroupName, string stateName ) : System.Threading.Tasks.Task
control this /// Control to transition. ///
visualStatesHost Windows.UI.Xaml.FrameworkElement /// 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