Web
In this post we will go through a scenario for databinding the RadToolBar control. Here is the end result: And the demo project with everything included: ToolBarMVVM.zip How to databind the ToolBar? The ToolBar is an ItemsControl and can be databound to any IEnumerable, but it is preferable to bind it to an observable collection since any changes in it will be reflected by the ToolBar. Since there is no ToolBarItem, because ToolBar may contain variety of other controls, we will use DataTemplateSelector class to help us determine the template for each item inside the ToolBar: public class ToolBarTemplateSelector : DataTemplateSelector { public override DataTemplate SelectTemplate(object item, DependencyObject container) { if (item...