xaml-sdk/ToolBar/ToolBarMVVM
martinivanoff c94f26461f SDK updated 2020-09-24 16:59:02 +03:00
..
Properties Added updates to the repository 2013-08-09 14:02:25 +03:00
ViewModels Added updates to the repository 2013-08-09 14:02:25 +03:00
App.config Added updates to the repository 2013-08-09 14:02:25 +03:00
App.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
App.xaml.cs Added updates to the repository 2013-08-09 14:02:25 +03:00
App_SL.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
App_SL.xaml.cs Added updates to the repository 2013-08-09 14:02:25 +03:00
Example.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
Example.xaml.cs Added updates to the repository 2013-08-09 14:02:25 +03:00
MainPage.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
MainPage.xaml.cs Added updates to the repository 2013-08-09 14:02:25 +03:00
MainWindow.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
MainWindow.xaml.cs Added updates to the repository 2013-08-09 14:02:25 +03:00
Readme.md SDK updated 2020-09-24 16:59:02 +03:00
Resources.xaml Added updates to the repository 2013-08-09 14:02:25 +03:00
ToolBarMVVM.csproj Examples update 2016-05-05 12:15:17 +03:00
ToolBarMVVM.csproj.user New Timeline example 2013-09-27 16:31:11 +03:00
ToolBarMVVM_SL.csproj Examples update 2016-05-05 12:15:17 +03:00
ToolBarMVVM_SL.csproj.user New Timeline example 2013-09-27 16:31:11 +03:00
ToolBarMVVM_SL.v11.suo New Timeline example 2013-09-27 16:31:11 +03:00

Readme.md

ToolBar MVVM

The ToolBar MVVM sample demonstrates the following features and custommization techniques in the RadToolBar:

1) DataBinding the RadToolBar to collection of ViewModels.
2) DataTemplaceSelector which decides what type of control to add in the toolbar depending on the ViewModel's type.
3) Custom Styles that upgrade the predefined styles in the RadToolBar.

Notes: The predefined styles are located in Resources.xaml. The custom styles are located in Example.xamla and are based on the predefined ones. The ColorPicker uses the predefined RadSplitButtonStyle to achieve consistency when used in Toolbar. Otherwise it will have borders, non-transparent background etc. because Toolbar does not have predefined style for RadColorPicker.