Share via


ColorPickerSlider.ColorChannel Property

Definition

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

This documentation applies to WinUI 2 for UWP (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);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")]
ColorPickerHsvChannel ColorChannel();

void ColorChannel(ColorPickerHsvChannel value);
public ColorPickerHsvChannel ColorChannel { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")]
public ColorPickerHsvChannel ColorChannel { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorPickerHsvChannel::Value")] set; }
Public Property ColorChannel As ColorPickerHsvChannel

Property Value

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to