Freigeben über


ColorPicker.Color Eigenschaft

Definition

Ruft den aktuellen Farbwert ab oder legt den wert fest.

public:
 property Color Color { Color get(); void set(Color value); };
/// [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);
/// [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 { [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 }")]
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; }
var color = colorPicker.color;
colorPicker.color = color;
Public Property Color As Color
<ColorPicker Color="colorString" .../>

Eigenschaftswert

Der aktuelle Farbwert.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: