C# 클래스 VLC_WINRT.Utility.Helpers.AwaitableUI.ControlExtensions

Extension methods for Control class.
파일 보기 프로젝트 열기: kusl/vlcwinrt

공개 메소드들

메소드 설명
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