xaml-sdk/ToolBar/ToolBarCustomStyledElements
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
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
ToolBarCustomStyledElements_SL.csproj Examples update 2016-05-05 12:15:17 +03:00
ToolBarCustomStyledElements_WPF.csproj Examples update 2016-05-05 12:15:17 +03:00

Readme.md

Tool Bar Custom Styled Elements

The ToolBarCustomStyledElements project demonstrates the correct approach for setting a custom style on element placed in RadToolbar. The toolbar has predefined styles for radbutton, textblock, raddropdownbutton, etc. In order to edit and use successfully these styles / or to use custom styles for the elements in the toolbar you have to override the ToolBarContainerStyleSelector of the RadToolbar. Add a ContainerStyle targetting the specific control, add its predefined style and add/edit/override the properties you need. Setting directy style on the elements in the toolbar is not correct, does not work in WPF and works partially in Silverlight.