Skip to main content

PopupMenuShowingEventArgs Class

Provides data for the popupMenuShowing event.

Declaration

class PopupMenuShowingEventArgs extends CancelEventArgs

Inherited Members

Inheritance

EventArgs
CancelEventArgs
PopupMenuShowingEventArgs

Properties

menuItems Property

Provides access to a collection of menu items in the context menu being invoked.

Declaration

menuItems: PopupMenuItemCollection

Property Value

Type Description
PopupMenuItemCollection

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

menuType: PopupMenuType

Property Value

Type Description
PopupMenuType

The popup menu type.

Remarks

The menuType property allows you to determine the type of element for which a context menu is displayed.