asp.net.ph

Style.ForeColor Property

System.Web.UI.WebControls Namespace   Style Class


Sets or retrieves the color of the object's text.

Syntax


Inline <asp:control ForeColor = strColor ... >
Script Style.ForeColor [ = strColor ]

Property Value


strColor A System.Drawing.Color that represents the foreground color of the control, using any of the standard .NET color identifiers. See Color Table.

This property is read/write and returns an empty string if not set.

Remarks

ForeColor is used to specify the color of the textual content ( the foreground color ) of a Web server control. This property is set using a System.Drawing.Color object, the possible range of values of which are specified in this workshop's Color Table.

See Also

Style Members   Base Web Control Properties Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note