Share via


ColorSpectrum.Components 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 Components { ColorSpectrumComponents get(); void set(ColorSpectrumComponents value); };
ColorSpectrumComponents Components();

void Components(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 Components();

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

Property Value

A value of the enumeration. The default is HueSaturation.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to