Share via


ColorPicker.ColorSpectrumComponents Property

Definition

Gets or sets a value that indicates how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void ColorSpectrumComponents(ColorSpectrumComponents value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")]
ColorSpectrumComponents ColorSpectrumComponents();

void ColorSpectrumComponents(ColorSpectrumComponents value);
public ColorSpectrumComponents ColorSpectrumComponents { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")]
public ColorSpectrumComponents ColorSpectrumComponents { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")] set; }
Public Property ColorSpectrumComponents As ColorSpectrumComponents
<ColorPicker ColorSpectrumComponents="colorSpectrumComponentsName" .../>

Property Value

A value of the enumeration. The default is HueSaturation.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to