PopupMenuShowingEventArgs.Menu Property
Gets or sets the control’s popup menu that will be shown.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v23.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraTreeList.Menu.TreeListMenu | A TreeListMenu object that is the menu that will be shown. |
Remarks
The Menu property allows you to add or remove items from the control’s popup menu.
This can be accomplished by using methods accessible via the Menu.Items collection.
An empty menu is not displayed.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Menu property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.