ColorSpectrum.Components 属性

定义

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

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

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

属性值

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

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于