DataGrid.ShouldSerializeBackgroundColor Méthode
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.
Indique si la propriété BackgroundColor doit être rendue persistante.
protected:
virtual bool ShouldSerializeBackgroundColor();
protected virtual bool ShouldSerializeBackgroundColor ();
abstract member ShouldSerializeBackgroundColor : unit -> bool
override this.ShouldSerializeBackgroundColor : unit -> bool
Protected Overridable Function ShouldSerializeBackgroundColor () As Boolean
Retours
true
si la propriété n'utilise plus sa valeur par défaut ; sinon, false
.
Remarques
Vous utilisez généralement cette méthode si vous créez un concepteur pour le System.Windows.Forms.DataGrid ou créez votre propre contrôle intégrant le System.Windows.Forms.DataGrid.