Hi Nancy,
You can customize a PopupMenu (part of XPMenus) before it''s displayed by handling the BeforePopup event. If you combine that with the MouseDown event of the TreeViewAdv and some node detection code, you can customize your context menu based on which node was clicked on.
The attached
sample demonstrates displaying alternate BarItems if the label/image of a TreeNodeAdv is clicked on, depending on the Level of the node.
Hope it helps.
Regards,
Gregory Austin
Syncfusion Inc.