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

Contains extension methods to wait for FrameworkElement events.
파일 보기 프로젝트 열기: kusl/vlcwinrt

공개 메소드들

메소드 설명
WaitForImagesToLoad ( this frameworkElement, int millisecondsTimeout ) : System.Threading.Tasks.Task

Waits for all the image sources in the visual tree to complete loading (useful to call before a page transition).

Note that it does not take popups into account.

WaitForLayoutUpdateAsync ( this frameworkElement ) : System.Threading.Tasks.Task

Waits for the next layout update event.

WaitForLoadedAsync ( this frameworkElement ) : System.Threading.Tasks.Task

Waits for the element to load (construct and add to the main object tree).

WaitForNonZeroSizeAsync ( this frameworkElement ) : System.Threading.Tasks.Task

Waits for the size of the element to become non-zero.

WaitForUnloadedAsync ( this frameworkElement ) : System.Threading.Tasks.Task

Waits for the element to unload (disconnect from the main object tree).

메소드 상세

WaitForImagesToLoad() 공개 정적인 메소드

Waits for all the image sources in the visual tree to complete loading (useful to call before a page transition).
Note that it does not take popups into account.
public static WaitForImagesToLoad ( this frameworkElement, int millisecondsTimeout ) : System.Threading.Tasks.Task
frameworkElement this The framework element.
millisecondsTimeout int The timeout in milliseconds.
리턴 System.Threading.Tasks.Task

WaitForLayoutUpdateAsync() 공개 정적인 메소드

Waits for the next layout update event.
public static WaitForLayoutUpdateAsync ( this frameworkElement ) : System.Threading.Tasks.Task
frameworkElement this The framework element.
리턴 System.Threading.Tasks.Task

WaitForLoadedAsync() 공개 정적인 메소드

Waits for the element to load (construct and add to the main object tree).
public static WaitForLoadedAsync ( this frameworkElement ) : System.Threading.Tasks.Task
frameworkElement this
리턴 System.Threading.Tasks.Task

WaitForNonZeroSizeAsync() 공개 정적인 메소드

Waits for the size of the element to become non-zero.
public static WaitForNonZeroSizeAsync ( this frameworkElement ) : System.Threading.Tasks.Task
frameworkElement this The framework element.
리턴 System.Threading.Tasks.Task

WaitForUnloadedAsync() 공개 정적인 메소드

Waits for the element to unload (disconnect from the main object tree).
public static WaitForUnloadedAsync ( this frameworkElement ) : System.Threading.Tasks.Task
frameworkElement this
리턴 System.Threading.Tasks.Task