CastingDevicePicker CastingDevicePicker CastingDevicePicker CastingDevicePicker CastingDevicePicker Class

Definition

Represents a device picker that contains a list of casting devices for the user to choose from.

public : sealed class CastingDevicePicker
struct winrt::Windows::Media::Casting::CastingDevicePicker
public sealed class CastingDevicePicker
Public NotInheritable Class CastingDevicePicker
var castingDevicePicker = new castingDevicePicker();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CastingDevicePicker() CastingDevicePicker() CastingDevicePicker() CastingDevicePicker() CastingDevicePicker()

Creates a CastingDevicePicker object.

Properties

Appearance Appearance Appearance Appearance Appearance

Gets the colors of the picker UI.

Filter Filter Filter Filter Filter

Gets the filter information for which devices to show in the picker.

Methods

Hide() Hide() Hide() Hide() Hide()

Hides the device picker UI.

Show(Rect) Show(Rect) Show(Rect) Show(Rect) Show(Rect)

Shows the casting device picker UI, which flies out from an edge of the provided rectangle.

Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement) Show(Rect, Placement)

Shows the casting device picker UI, which flies out from the specified edge of the provided rectangle.

Events

CastingDevicePickerDismissed CastingDevicePickerDismissed CastingDevicePickerDismissed CastingDevicePickerDismissed CastingDevicePickerDismissed

Indicates that the user has dismissed the picker UI.

CastingDeviceSelected CastingDeviceSelected CastingDeviceSelected CastingDeviceSelected CastingDeviceSelected

Indicates that the user has selected a device from the picker.