This documentation is archived and is not being maintained.

DataGridTableStyle.ShouldSerializeSelectionBackColor Method

Indicates whether the SelectionBackColor property should be persisted.

[Visual Basic]
Protected Function ShouldSerializeSelectionBackColor() As Boolean
protected bool ShouldSerializeSelectionBackColor();
protected: bool ShouldSerializeSelectionBackColor();
protected function ShouldSerializeSelectionBackColor() : 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 DataGridTableStyle or creating your own control incorporating the DataGridTableStyle.


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

DataGridTableStyle Class | DataGridTableStyle Members | System.Windows.Forms Namespace | ResetSelectionBackColor | SelectionBackColorChanged | SelectionBackColor | SelectionForeColor