Freigeben über


ColorSpectrum.Shape Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das ColorSpectrum als Quadrat oder Kreis angezeigt wird, oder legt diesen fest.

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

Eigenschaftswert

Ein Wert aus der Enumeration. Die Standardeinstellung ist Box, in der das Spektrum als Quadrat angezeigt wird.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: