DataGridTableStyle.ShouldSerializeForeColor Method

Definition

Indicates whether the ForeColor property should be persisted.

protected:
 bool ShouldSerializeForeColor();
protected bool ShouldSerializeForeColor ();
member this.ShouldSerializeForeColor : unit -> bool
Protected Function ShouldSerializeForeColor () As Boolean

Returns

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 DataGridTableStyle or creating your own control incorporating the DataGridTableStyle.

Applies to