'Declaration Public Event Popup As PopupEventHandler
public event PopupEventHandler Popup
Event Data
The event handler receives an argument of type PopupEventArgs containing data related to this event. The following PopupEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Control | Gets a reference to the Control that provides the tooltip text and location. |
Form | Gets a reference to the Form that contains the tooltip. |
Location | Gets or sets the location where the tooltip will be displayed. |
Text | Gets or sets the text that will be displayed in the tooltip. |
ToolStripItem | Gets a reference to the ToolStripItem that provides the tooltip text. |
Remarks
This event allows you to modify the location of the tooltip (by adjusting the PopupEventArgs.Location parameter), or to prevent the tooltip from being displayed (by setting the System.ComponentModel.CancelEventArgs.Cancel parameter.
See Also