System.Web.UI.WebControls.ValidationSummary.ForeColor Property

Gets or sets the foreground color of the control.

Syntax

[System.ComponentModel.DefaultValue(typeof(System.Drawing.Color), "Red")]
public override System.Drawing.Color ForeColor { set; get; }

Value

a System.Drawing.Color

Remarks

Use this property to specify the color in which error messages from validation controls are displayed.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0