Udostępnij za pośrednictwem


DevicePickerAppearance Class

Definition

Represents the appearance of a device picker.

public ref class DevicePickerAppearance sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DevicePickerAppearance final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DevicePickerAppearance
Public NotInheritable Class DevicePickerAppearance
Inheritance
Object Platform::Object IInspectable DevicePickerAppearance
Attributes

Windows requirements

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

Properties

AccentColor

Gets and sets the accent color of the picker UI.

BackgroundColor

Gets and sets the background color of the picker UI.

ForegroundColor

Gets and sets the foreground color of the picker UI.

SelectedAccentColor

Gets and sets the accent color for a device that has been selected in the picker.

SelectedBackgroundColor

Gets and sets the background color for a device that is selected in the picker.

SelectedForegroundColor

Gets and sets the foreground color for a device that is selected in the picker.

Title

Gets and sets the title for the picker UI.

Applies to