Share via


CastingDevicePicker.Show 方法

定义

重载

Show(Rect)

显示强制转换设备选取器 UI,该 UI 从提供的矩形的边缘飞出。

Show(Rect, Placement)

显示强制转换设备选取器 UI,该 UI 从提供的矩形的指定边缘飞出。

Show(Rect)

显示强制转换设备选取器 UI,该 UI 从提供的矩形的边缘飞出。

public:
 virtual void Show(Rect selection) = Show;
/// [Windows.Foundation.Metadata.Overload("Show")]
void Show(Rect const& selection);
[Windows.Foundation.Metadata.Overload("Show")]
public void Show(Rect selection);
function show(selection)
Public Sub Show (selection As Rect)

参数

selection
Rect

选取器 UI 应从中飞出的矩形。

属性

另请参阅

适用于

Show(Rect, Placement)

显示强制转换设备选取器 UI,该 UI 从提供的矩形的指定边缘飞出。

public:
 virtual void Show(Rect selection, Placement preferredPlacement) = Show;
/// [Windows.Foundation.Metadata.Overload("ShowWithPlacement")]
void Show(Rect const& selection, Placement const& preferredPlacement);
[Windows.Foundation.Metadata.Overload("ShowWithPlacement")]
public void Show(Rect selection, Placement preferredPlacement);
function show(selection, preferredPlacement)
Public Sub Show (selection As Rect, preferredPlacement As Placement)

参数

selection
Rect

选取器应从中飞出的矩形。

preferredPlacement
Placement

选取器应从中飞出矩形的边缘。

属性

另请参阅

适用于