Version

CancelableContextMenuInitializingEventArgs Class Members

The following tables list the members exposed by CancelableContextMenuInitializingEventArgs.

Public Constructors
Public Properties
 NameDescription
Public PropertyCancel (Inherited from System.ComponentModel.CancelEventArgs)
Public PropertyClickAreaReturns an enumeration that describes the area of the control that was right-clicked.  
Public PropertyContextMenuReturns/sets the context menu to be displayed.  
Public PropertyGroupReturns the UltraExplorerBarGroup for which the context menu is being displayed, or null if the context menu does not relate to a group.  
Public PropertyItemReturns the UltraExplorerBarItem for which the context menu is being displayed, or null if the context menu does not relate to an item.  
Public Methods
 NameDescription
Public MethodGetMenuItemTypeReturns a ContextMenuItemType enumeration describing the type of the passed in menuitem. If the menuitem is not one of the menuitems supplied by default (i.e., it was added by the user), the method returns '0 - Unknown or User defined'.  
Public MethodResetMenuResets the current context menu to its default state and returns a reference to the reset menu.  
See Also