ASP.NET ForeColor Property
Web control standard properties reference manual
Definition and Usage
The ForeColor property is used to set or return the foreground color of the control (usually the color of the text).
Syntax
webcontrol id=" id " ForeColor= "color" runat="server" /> The following example sets the foreground color of a button: Demo Example »
property
Description
color
The color set as the foreground color of the control. Must be a valid HTML color。
Example
Web control standard properties reference manual