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.

public:
 property ColorSpectrumComponents ColorSpectrumComponents { ColorSpectrumComponents get(); void set(ColorSpectrumComponents value); };
/// [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);
/// [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 { [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")]
public ColorSpectrumComponents ColorSpectrumComponents { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumComponents::HueSaturation")] 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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to