System.Windows.Forms.ToolStripItem.EnabledChanged Event

Occurs when the ToolStripItem.Enabled property value has changed.

Syntax

public event EventHandler EnabledChanged

Remarks

This event is raised if the ToolStripItem.Enabled property is changed by either a programmatic modification or user interaction.

Note:

Changing the Control.Enabled property of a System.Windows.Forms.ToolStrip does not raise the ToolStripItem.EnabledChanged event. Raise this event with specific property settings.

For more information about handling events, see Consuming Events.

Requirements

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