System.Windows.Forms.ToolStripItem.BackColor Property

Gets or sets the background color for the item.

Syntax

public virtual System.Drawing.Color BackColor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ToolStripItem.BackColor property does not support transparent colors unless the SupportsTransparentBackColor value of System.Windows.Forms.ControlStyles is set to true.

The ToolStripItem.BackColor property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a System.Windows.Forms.Button has the same ToolStripItem.BackColor as its parent System.Windows.Forms.Form by default. For more information about ambient properties, see the System.Windows.Forms.AmbientProperties class or the System.Windows.Forms.Control class overview.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0