Dela 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.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum.Components (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);
public ColorSpectrumComponents Components { get; set; }
var colorSpectrumComponents = colorSpectrum.components;
colorSpectrum.components = colorSpectrumComponents;
Public Property Components As ColorSpectrumComponents

Property Value

A value of the enumeration. The default is HueSaturation.

Applies to