Udostępnij za pośrednictwem


ColorSpectrum.Shape Property

Definition

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.Primitives.ColorSpectrum.Shape (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

void Shape(ColorSpectrumShape value);
public ColorSpectrumShape Shape { get; 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.

Applies to