ColorPicker.Color Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit la valeur de couleur actuelle.
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" .../>
Valeur de propriété
Valeur de couleur actuelle.
- Attributs
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour