Share via


DialDevicePicker.PickSingleDialDeviceAsync Method

Definition

Overloads

PickSingleDialDeviceAsync(Rect)

Shows the picker. Call this method directly to show to show the picker, instead of showing it in response to an event.

PickSingleDialDeviceAsync(Rect, Placement)

Shows the picker. Call this method directly to show to show the picker, instead of showing it in response to an event.

PickSingleDialDeviceAsync(Rect)

Shows the picker. Call this method directly to show to show the picker, instead of showing it in response to an event.

public:
 virtual IAsyncOperation<DialDevice ^> ^ PickSingleDialDeviceAsync(Rect selection) = PickSingleDialDeviceAsync;
/// [Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsync")]
IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect const& selection);
[Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsync")]
public IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect selection);
function pickSingleDialDeviceAsync(selection)
Public Function PickSingleDialDeviceAsync (selection As Rect) As IAsyncOperation(Of DialDevice)

Parameters

selection
Rect

The rectangle from which to show the picker.

Returns

The device the user selected from the picker.

Attributes

See also

Applies to

PickSingleDialDeviceAsync(Rect, Placement)

Shows the picker. Call this method directly to show to show the picker, instead of showing it in response to an event.

public:
 virtual IAsyncOperation<DialDevice ^> ^ PickSingleDialDeviceAsync(Rect selection, Placement preferredPlacement) = PickSingleDialDeviceAsync;
/// [Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsyncWithPlacement")]
IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("PickSingleDialDeviceAsyncWithPlacement")]
public IAsyncOperation<DialDevice> PickSingleDialDeviceAsync(Rect selection, Placement preferredPlacement);
function pickSingleDialDeviceAsync(selection, preferredPlacement)
Public Function PickSingleDialDeviceAsync (selection As Rect, preferredPlacement As Placement) As IAsyncOperation(Of DialDevice)

Parameters

selection
Rect

The rectangle from which to show the picker.

preferredPlacement
Placement

The edge of the rectangle from which to show the picker.

Returns

The DialDevice object selected.

Attributes

See also

Applies to