TreeListMenuItemClickEventArgs.MenuItem Property
Gets the clicked menu item.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
DXMenuItem | A DXMenuItem object representing the clicked menu item. |
Remarks
A menu item in the Tree List is represented by a DXMenuItem object or its descendant. Each menu item can be identified using its Tag property. For standard menu items displayed for column headers and footer cells, this property contains an appropriate value of the DevExpress.XtraTreeList.Localization.TreeListStringId enumeration:
The Tag property value | Menu Item |
---|---|
TreeListStringId.MenuFooterSum | The “Sum” item in the footer context menu. |
TreeListStringId.MenuFooterMin | The “Min” item in the footer context menu. |
TreeListStringId.MenuFooterMax | The “Max” item in the footer context menu. |
TreeListStringId.MenuFooterCount | The “Count” item in the footer context menu. |
TreeListStringId.MenuFooterAverage | The “Average” item in the footer context menu. |
TreeListStringId.MenuFooterNone | The “None” item in the footer context menu. |
TreeListStringId.MenuFooterAllNodes | The “AllNodes” item in the footer context menu. |
TreeListStringId.MenuColumnSortAscending | The “Sort Ascending” item in the column header context menu. |
TreeListStringId.MenuColumnSortDescending | The “Sort Descending” item in the column header context menu. |
TreeListStringId.MenuColumnColumnCustomization | The “Runtime Column Customization” item in the column header context menu. |
TreeListStringId.MenuColumnBestFit | The “Best Fit” item in the column header context menu. |
TreeListStringId.MenuColumnBestFitAllColumns | The “Best Fit (all columns)” item in the column header context menu. |
For more information on menu items, refer to the Context Menus topic.
See Also