System.Windows.Forms.DataGrid.ShouldSerializeCaptionForeColor Method

Gets a value indicating whether the DataGrid.CaptionForeColor property should be persisted.

Syntax

protected virtual bool ShouldSerializeCaptionForeColor ()

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.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0