[]
Creates a new instance of ContextMenuPopupEventArgs class.
public ContextMenuPopupEventArgs(Component component, Point location, bool isCustomMenu)
| Type | Name | Description |
|---|---|---|
| Component | component | The component for which the menu is shown. |
| Point | location | The upper-left or upper-right corner of the context menu in screen coordinates. |
| bool | isCustomMenu | The value indicating whether this menu is custom. |