共用方式為


ColorPicker.ColorSpectrumShape 屬性

定義

取得或設定值,這個值表示 ColorSpectrum 是否顯示為正方形或圓形。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.ColorPicker.ColorSpectrumShape (for WinUI 在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,它會將頻譜顯示為正方形。

適用於