Condividi tramite


ColorPicker.ColorSpectrumShape Proprietà

Definizione

Ottiene o imposta un valore che indica se ColorSpectrum viene visualizzato come quadrato o cerchio.

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

Valore della proprietà

Valore dell'enumerazione. Il valore predefinito è Box, che mostra lo spettro come quadrato.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a