Share via


ColorPicker.IsColorSpectrumVisible Property

Definition

Gets or sets a value that indicates whether the color spectrum control is shown.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool IsColorSpectrumVisible { bool get(); void set(bool value); };
bool IsColorSpectrumVisible();

void IsColorSpectrumVisible(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsColorSpectrumVisible();

void IsColorSpectrumVisible(bool value);
public bool IsColorSpectrumVisible { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsColorSpectrumVisible { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property IsColorSpectrumVisible As Boolean
<ColorPicker IsColorSpectrumVisible="bool" .../>

Property Value

Boolean

bool

true if the color spectrum is shown; otherwise, false. The default is true.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to