Back to Devexpress

PopupMenuShowingEventArgs Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-popupmenushowingeventargs-dot-underscore-members.md

latest6.1 KB
Original Source

PopupMenuShowingEventArgs Members

Contains data for the GridView.PopupMenuShowing event.

Constructors

NameDescription
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

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
AllowGets or sets whether to display the context menu. Inherited from BasePopupMenuShowingEventArgs.
HitInfoGets an object that identifies a clicked element.
MenuGets or sets the popup menu that is about to be displayed.
MenuTypeGets the type of the Grid View’s menu to be invoked.
PointGets or sets coordinates of the invoked context menu (top-left corner) relative to the parent control. Inherited from BasePopupMenuShowingEventArgs.
ScreenPointGets coordinates of the invoked context menu (top-left corner) relative to the screen. Inherited from BasePopupMenuShowingEventArgs.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

PopupMenuShowingEventArgs Class

DevExpress.XtraGrid.Views.Grid Namespace