This documentation is archived and is not being maintained.

DataGrid.ShouldSerializeHeaderBackColor Method

Indicates whether the HeaderBackColor property should be persisted.

[Visual Basic]
Protected Overridable Function ShouldSerializeHeaderBackColor() As _
protected virtual bool ShouldSerializeHeaderBackColor();
protected: virtual bool ShouldSerializeHeaderBackColor();
protected function ShouldSerializeHeaderBackColor() : Boolean;

Return Value

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


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataGrid Class | DataGrid Members | System.Windows.Forms Namespace