ToolStripItem::ForeColor Property
.NET Framework (current version)
Gets or sets the foreground color of the item.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Drawing::ColorThe 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: