System.Windows.Forms.ToolStripItem.LocationChanged Event

Occurs when the location of a System.Windows.Forms.ToolStripItem is updated.

Syntax

public event EventHandler LocationChanged

Remarks

This event is raised if the System.Windows.Forms.ToolStripItem is updated by either a programmatic modification or through interaction.

Note:

Changing the Control.Enabled property of a System.Windows.Forms.ToolStrip does not raise the ToolStripItem.LocationChanged 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