Dela via


ColorPickerHsvChannel Enum

Definition

Defines contstants that specify which Hue-Saturation-Value-Alpha component a slider in a ColorPicker controls.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPickerHsvChannel (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public enum class ColorPickerHsvChannel
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class ColorPickerHsvChannel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum ColorPickerHsvChannel
var value = Windows.UI.Xaml.Controls.ColorPickerHsvChannel.hue
Public Enum ColorPickerHsvChannel
Inheritance
ColorPickerHsvChannel
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
Hue 0

The slider controls the Hue channel.

Saturation 1

The slider controls the Saturation channel.

Value 2

The slider controls the Value channel.

Alpha 3

The slider controls the Alpha channel.

Applies to