ColorPicker.ColorSpectrumShape Property

Definition

Gets or sets a value that indicates whether the ColorSpectrum is shown as a square or a circle.

This documentation applies to WinUI 2 for UWP (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);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
ColorSpectrumShape ColorSpectrumShape();

void ColorSpectrumShape(ColorSpectrumShape value);
public ColorSpectrumShape ColorSpectrumShape { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
public ColorSpectrumShape ColorSpectrumShape { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")] set; }
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.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to