C# Class InTheHand.Devices.Enumeration.DevicePicker

Represents a picker flyout that contains a list of devices for the user to choose from.
ファイルを表示 Open project: inthehand/Charming Class Usage Examples

Public Methods

Method Description
DevicePicker ( ) : System

Creates a DevicePicker object.

Hide ( ) : void

Hides the picker.

PickSingleDeviceAsync ( Rect selection ) : Task

Shows the picker UI and returns the selected device; does not require you to register for an event.

PickSingleDeviceAsync ( Rect selection, Placement placement ) : Task

Shows the picker UI and returns the selected device; does not require you to register for an event.

Show ( Rect selection ) : void

Shows the picker UI.

Show ( Rect selection, Placement placement ) : void

Shows the picker UI.

Private Methods

Method Description
OnDevicePickerDismissed ( ) : void
OnDeviceSelected ( Windows device ) : void

Method Details

DevicePicker() public method

Creates a DevicePicker object.
public DevicePicker ( ) : System
return System

Hide() public method

Hides the picker.
public Hide ( ) : void
return void

PickSingleDeviceAsync() public method

Shows the picker UI and returns the selected device; does not require you to register for an event.
public PickSingleDeviceAsync ( Rect selection ) : Task
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
return Task

PickSingleDeviceAsync() public method

Shows the picker UI and returns the selected device; does not require you to register for an event.
public PickSingleDeviceAsync ( Rect selection, Placement placement ) : Task
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
placement Placement The edge of the rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
return Task

Show() public method

Shows the picker UI.
public Show ( Rect selection ) : void
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
return void

Show() public method

Shows the picker UI.
public Show ( Rect selection, Placement placement ) : void
selection Windows.Foundation.Rect The rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
placement Placement The edge of the rectangle from which you want the picker to fly out. /// Ignored on Windows Phone.
return void