You can definitely synchronize the RadTreeView
controls content. I'd suggest an approach where you use a common ViewModel
and populate the RadTreeView
with business items. If every business item contains a list of options, you can display those in a RadContextMenu
and in a RadToolBar
This means that you will have to populate the ItemsSource
collections of the RadTreeView
with business data. And in order to make sure that the RadToolBar
is displaying the options available for a selected node, you can bind its ItemsSource
to a collection coming from the currently SelectedItem
in the RadTreeView
. For that purpose you can bind the RadTreeView SelectedItem
to a business item from your view model and use that business item to populate the RadToolBar
Please find a sample solution attached - it demonstrates the suggested approach. I hope it can help you get started.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>