Share via


HwndTarget.BackgroundColor Propriété

Définition

Obtient ou définit la couleur d'arrière-plan de la fenêtre référencée par ce HwndTarget.

public:
 property System::Windows::Media::Color BackgroundColor { System::Windows::Media::Color get(); void set(System::Windows::Media::Color value); };
public System.Windows.Media.Color BackgroundColor { get; set; }
member this.BackgroundColor : System.Windows.Media.Color with get, set
Public Property BackgroundColor As Color

Valeur de propriété

La couleur d'arrière-plan, comme une valeur Color.

Remarques

L’arrière-plan est dessiné avant tout autre composant visuel. La couleur utilisée doit avoir un composant alpha de 1.0. Si vous essayez de spécifier une autre valeur alpha dans le fourni Color, il est automatiquement réinitialisé à 1.0.

S’applique à