TreeList.ShowTreeListMenu Event
In This Article
OBSOLETE
You should use the 'Popup
Allows you to customize the default menus for column headers, row and footer summaries, nodes, and the empty area.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the 'PopupMenuShowing' instead", false)]
public event TreeListMenuEventHandler ShowTreeListMenu
#Event Data
The ShowTreeListMenu event's data class is TreeListMenuEventArgs. 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.
Inherited from Popup |
Menu |
Gets or sets the control’s popup menu that will be shown.
Inherited from Popup |
Menu |
Gets the type of the context menu that is about to be shown.
Inherited from Popup |
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
Use the TreeList.PopupMenuShowing event instead.
See Also