Partager via


ForeColor Property

Sets or retrieves the foreground color of the Web control.

Syntax

Visual Basic Overridable  Public  Property ForeColor As Color
C# public   virtual  Color ForeColor { get; set; }
Managed C++ public:  __property virtual Color get_ForeColor();
public:  __property virtual  void set_ForeColor(Color);
JScript public   function get ForeColor() : Color;
public   function set ForeColor(Color);

Possible Values

sForeColor Color indicating the foreground color of the Web control.

The property is read/write. The property has no default value.

Applies To

TOOLBARDROPDOWNLIST, TOOLBARTEXTBOX

See Also

Internet Explorer WebControls, About the Toolbar WebControl