DataGrid.ShouldSerializeBackgroundColor Méthode

Définition

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

Boolean

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.

S’applique à