PopupMenuShowingEventArgs Class
Provides data for the popupMenuShowing event.
#Declaration
TypeScript
class PopupMenuShowingEventArgs extends CancelEventArgs
#Inheritance
EventArgs
CancelEventArgs
PopupMenuShowingEventArgs
#Properties
#menuItems Property
Provides access to a collection of menu items in the context menu being invoked.
#Declaration
TypeScript
menuItems: PopupMenuItemCollection
#Property Value
Type | Description |
---|---|
Popup |
The context menu’s item collection. |
#Remarks
The menuItems property provides access to a collection of PopupMenuItem objects.
#menuType Property
Gets the currently displayed context menu’s type.
#Declaration
TypeScript
menuType: PopupMenuType
#Property Value
Type | Description |
---|---|
Popup |
The popup menu type. |
#Remarks
The menuType property allows you to determine the type of element for which a context menu is displayed.