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 _
   _
   Boolean
[C#]
protected virtual bool ShouldSerializeHeaderBackColor();
[C++]
protected: virtual bool ShouldSerializeHeaderBackColor();
[JScript]
protected function ShouldSerializeHeaderBackColor() : Boolean;

Return Value

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

Remarks

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.

Requirements

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

Show: