C# Class WinRTXamlToolkit.AwaitableUI.ButtonExtensions

Extension methods for waiting for button clicks on one or one of a collection of buttons.
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
WaitForClickAsync ( ) : Task

Waits for the Click event from any of the buttons and returns the first button clicked.

WaitForClickAsync ( this buttons ) : Task

Waits for the Click event from any of the buttons and returns the first button clicked.

WaitForClickAsync ( this button ) : Task

Waits for the button Click event.

Method Details

WaitForClickAsync() public static method

Waits for the Click event from any of the buttons and returns the first button clicked.
public static WaitForClickAsync ( ) : Task
return Task

WaitForClickAsync() public static method

Waits for the Click event from any of the buttons and returns the first button clicked.
public static WaitForClickAsync ( this buttons ) : Task
buttons this
return Task

WaitForClickAsync() public static method

Waits for the button Click event.
public static WaitForClickAsync ( this button ) : Task
button this
return Task