Udostępnij za pośrednictwem


ColorSpectrum.Color Property

Definition

Gets or sets the current color value.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum.Color (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);
public Color Color { get; set; }
var color = colorSpectrum.color;
colorSpectrum.color = color;
Public Property Color As Color

Property Value

The current color value.

Applies to