System.Windows.Forms.ToolBarButton.Enabled Property

Gets or sets a value indicating whether the button is enabled.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(true)]
public bool Enabled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the ToolBarButton.Enabled property is set to false, the toolbar button cannot be clicked, and the button's appearance changes. The System.Drawing.Image and ToolBarButton.Text assigned to the button appear grayed out. If the image or text has multiple colors, they display in a monochromatic gray.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0