Share via


ColorSpectrum.Shape Property

Definition

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

public:
 property ColorSpectrumShape Shape { ColorSpectrumShape get(); void set(ColorSpectrumShape value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::ColorSpectrumShape::Box")]
ColorSpectrumShape Shape();

void Shape(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 Shape();

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

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