ForeColor Property

Sets or retrieves the color of the text.

Syntax

Visual Basic Overrides  Public  Property ForeColor As System.Drawing.Color
C# public   override System.Drawing.Color ForeColor { get; set; }
Managed C++ public:  __property System.Drawing.Color get_ForeColor();
public:  __property void set_ForeColor(System.Drawing.Color);
JScript public   override  function get ForeColor() : System.Drawing.Color;
public   override  function set ForeColor(System.Drawing.Color);

Possible Values

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

Property Information

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl