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.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPicker.ColorSpectrumComponents (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);
public ColorSpectrumComponents ColorSpectrumComponents { get; set; }
var colorSpectrumComponents = colorPicker.colorSpectrumComponents;
colorPicker.colorSpectrumComponents = colorSpectrumComponents;
Public Property ColorSpectrumComponents As ColorSpectrumComponents
<ColorPicker ColorSpectrumComponents="colorSpectrumComponentsName" .../>

Property Value

A value of the enumeration. The default is HueSaturation.

Applies to