DataGrid.ShouldSerializeParentRowsBackColor Method

Definition

Indicates whether the ParentRowsBackColor property should be persisted.

protected:
 virtual bool ShouldSerializeParentRowsBackColor();
protected virtual bool ShouldSerializeParentRowsBackColor ();
abstract member ShouldSerializeParentRowsBackColor : unit -> bool
override this.ShouldSerializeParentRowsBackColor : unit -> bool
Protected Overridable Function ShouldSerializeParentRowsBackColor () As Boolean

Returns

true if the property value has been changed from its default; otherwise, false.

Remarks

You typically use this method only if you are either creating a designer for the System.Windows.Forms.DataGrid, or creating your own control incorporating the System.Windows.Forms.DataGrid.

Applies to