I want to add a simple context menu to a treeview. So far I have
When I run it and right-click the treeview, I get nothing. There is no data, so there are no nodes, but that shouldn't matter - how would the user selected the New option?
<telerik:RadTreeView ItemsSource="{Binding Customers}"> <telerik:RadContextMenu.ContextMenu> <telerik:RadContextMenu> <telerik:RadMenuItem Header="New" /> <telerik:RadMenuItem Header="Open"/> <telerik:RadMenuItem Header="Delete" /> </telerik:RadContextMenu> </telerik:RadContextMenu.ContextMenu> </telerik:RadTreeView>When I run it and right-click the treeview, I get nothing. There is no data, so there are no nodes, but that shouldn't matter - how would the user selected the New option?