This line can be placed in the constructor of the MainWindow of your application. Or wherever the RadPanelBar
control is used. For example if you have a Window with a PanelBar placed in its Xaml file you can set the ItemsSource property in the constructor of the window.
.radPanelBar.ItemsSource = MyViewModel.GenerateItems()
In addition I attached a sample project based on the How to Display Hierarchical Data
help article. Please let me know if you need any further assistance.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.