DataGrid.ShouldSerializeParentRowsForeColor 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é ParentRowsForeColor doit être rendue persistante.
protected:
virtual bool ShouldSerializeParentRowsForeColor();
protected virtual bool ShouldSerializeParentRowsForeColor ();
abstract member ShouldSerializeParentRowsForeColor : unit -> bool
override this.ShouldSerializeParentRowsForeColor : unit -> bool
Protected Overridable Function ShouldSerializeParentRowsForeColor () 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 uniquement si vous créez un concepteur pour le System.Windows.Forms.DataGrid, ou si vous créez votre propre contrôle intégrant le System.Windows.Forms.DataGrid.