GanttControl.TreeListPopupMenuShowing Event
Allows you to customize the default menus for column headers, summary footers, and nodes.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
NuGet Package: DevExpress.Win.Gantt
#Declaration
[DXCategory("Behavior")]
public event PopupMenuShowingEventHandler TreeListPopupMenuShowing
#Event Data
The TreeListPopupMenuShowing event's data class is PopupMenuShowingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow |
Gets or sets whether to display the context menu.
Inherited from Base |
Hit |
Provides access to information about the clicked visual element. |
Menu | Gets or sets the control’s popup menu that will be shown. |
Menu |
Gets the type of the context menu that is about to be shown. |
Point |
Gets or sets coordinates of the invoked context menu (top-left corner) relative to the parent control.
Inherited from Base |
Screen |
Gets coordinates of the invoked context menu (top-left corner) relative to the screen.
Inherited from Base |
The event data class exposes the following methods:
Method | Description |
---|---|
Show |
Invokes a custom context menu instead of the control’s menu.
Inherited from Base |
Show |
Invokes a custom context menu instead of the control’s menu.
Inherited from Base |
#Remarks
The TreeListPopupMenuShowing
event fires when a pop-up menu is about to be shown in the tree area. See the TreeList.PopupMenuShowing event for more information.