ToolStripItem::ForeColor Property

 

Gets or sets the foreground color of the item.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property Color ForeColor {
	virtual Color get();
	virtual void set(Color value);
}

Property Value

Type: System.Drawing::Color

The foreground Color of the item. The default is the value of the DefaultForeColor property.

The following code example demonstrates how to use the ForeColor property for custom rendering. This code example is part of a larger example provided for the ToolStripItem class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: