Dela via


ColorPickerSlider.ColorChannel Property

Definition

Gets or sets a value that indicates which color channel the slider modifies.

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

public:
 property ColorPickerHsvChannel ColorChannel { ColorPickerHsvChannel get(); void set(ColorPickerHsvChannel value); };
ColorPickerHsvChannel ColorChannel();

void ColorChannel(ColorPickerHsvChannel value);
public ColorPickerHsvChannel ColorChannel { get; set; }
var colorPickerHsvChannel = colorPickerSlider.colorChannel;
colorPickerSlider.colorChannel = colorPickerHsvChannel;
Public Property ColorChannel As ColorPickerHsvChannel

Property Value

A value of the enumeration that indicates which color channel the slider modifies.

Applies to