Share via


ColorSpectrum.Color Property

Definition

Gets or sets the current color value.

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

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

void Color(Color value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")]
Color Color();

void Color(Color value);
public Color Color { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")]
public Color Color { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="{ 255, 255, 255, 255 }")] set; }
Public Property Color As Color

Property Value

The current color value.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to