C# Class WinRTXamlToolkit.AwaitableUI.UIElementExtensions

Provides awaitable extension methods for UIElement objects.
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
WaitForLostFocusAsync ( this control ) : System.Threading.Tasks.Task

Waits for the LostFocus event. Note that the event might not be raised if the focus has already been lost or is queued to be lost, so some polling might be advised if that is the case.

Method Details

WaitForLostFocusAsync() public static method

Waits for the LostFocus event. Note that the event might not be raised if the focus has already been lost or is queued to be lost, so some polling might be advised if that is the case.
public static WaitForLostFocusAsync ( this control ) : System.Threading.Tasks.Task
control this The control whoe focuse loss is being awaited.
return System.Threading.Tasks.Task