ColorPicker.ColorSpectrumComponents 属性

定义

获取或设置一个值,该值指示 Hue-饱和度值 (HSV) 颜色组件如何映射到 ColorSpectrum

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

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" .../>

属性值

枚举的一个值。 默认值为 HueSaturation

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于