Compartilhar via


ColorPicker.Color Propriedade

Definição

Obtém ou define o valor de cor atual.

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" .../>

Valor da propriedade

O valor de cor atual.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a