Skip to main content

PopupMenuShowingEventArgs Members

Contains data for the GridView.PopupMenuShowing event.

Constructors

Name Description
PopupMenuShowingEventArgs(GridViewMenu, GridHitInfo) Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu and hit information.
PopupMenuShowingEventArgs(GridMenuType, GridViewMenu, GridHitInfo, Boolean) Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu type, menu object, hit information and a value indicating whether or not a popup menu should be shown.
PopupMenuShowingEventArgs(GridMenuType, GridViewMenu, Point, Boolean) Initializes a new instance of the PopupMenuShowingEventArgs class with the specified menu type, menu object, menu position and a value indicating whether or not a popup menu should be shown.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Allow Gets or sets whether to display the context menu. Inherited from BasePopupMenuShowingEventArgs.
HitInfo Gets an object that identifies a clicked element.
Menu Gets or sets the popup menu that is about to be displayed.
MenuType Gets the type of the Grid View’s menu to be invoked.
Point Gets or sets coordinates of the invoked context menu (top-left corner) relative to the parent control. Inherited from BasePopupMenuShowingEventArgs.
ScreenPoint Gets coordinates of the invoked context menu (top-left corner) relative to the screen. Inherited from BasePopupMenuShowingEventArgs.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowCustomMenu(IDXDropDownControlEx) Invokes a custom context menu instead of the control’s menu. Inherited from BasePopupMenuShowingEventArgs.
ShowCustomMenu(ContextMenuStrip) Invokes a custom context menu instead of the control’s menu. Inherited from BasePopupMenuShowingEventArgs.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also