ColorPicker.ColorSpectrumShape 属性

定义

获取或设置一个值,该值指示 ColorSpectrum 是显示为正方形还是圆形。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.ColorPicker.ColorSpectrumShape (in the Windows 应用 SDK,请参阅Windows 应用 SDK命名空间) 。

public:
 property ColorSpectrumShape ColorSpectrumShape { ColorSpectrumShape get(); void set(ColorSpectrumShape value); };
ColorSpectrumShape ColorSpectrumShape();

void ColorSpectrumShape(ColorSpectrumShape value);
public ColorSpectrumShape ColorSpectrumShape { get; set; }
var colorSpectrumShape = colorPicker.colorSpectrumShape;
colorPicker.colorSpectrumShape = colorSpectrumShape;
Public Property ColorSpectrumShape As ColorSpectrumShape
<ColorPicker ColorSpectrumShape="colorSpectrumShapeName" .../>

属性值

枚举的一个值。 默认值为 Box,它将光谱显示为正方形。

适用于