TreeList.ShowTreeListMenu Event
OBSOLETE
You should use the 'PopupMenuShowing' instead
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
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 BasePopupMenuShowingEventArgs. |
HitInfo | Provides access to information about the clicked visual element. Inherited from PopupMenuShowingEventArgs. |
Menu | Gets or sets the control’s popup menu that will be shown. Inherited from PopupMenuShowingEventArgs. |
MenuType | Gets the type of the context menu that is about to be shown. Inherited from PopupMenuShowingEventArgs. |
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. |
The event data class exposes the following methods:
Method | Description |
---|---|
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. |
Remarks
Use the TreeList.PopupMenuShowing event instead.
See Also