ColorSpectrum.Color Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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