ColorPicker.ColorSpectrumShape Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the ColorSpectrum is shown as a square or a circle.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorPicker.ColorSpectrumShape (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
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" .../>
Property Value
A value of the enumeration. The default is Box, which shows the spectrum as a square.