<ResourceDictionary Source="/Syncfusion.Themes.VisualStudio2015.WPF;component/Button/Button.xaml"/>
S.NO |
Query |
Response | ||
1. |
I checked the forum questions, go through the help document. But I failed to define custom style by using BasedOn. |
We have checked the reported requirement and understood that you want to override the VisualStudio2015 style for MS Button control. For this the respective the xaml path and Based On name , is shown in following code:
Code:[App.xaml]
MainWindow.xaml
| ||
2 |
So where I can find the source location for the Button style file. Again, there is some inconsistency in the forum answers and help documents, tried all that I found related. I would be happy if you provide some general convention (or provide me a reference where I can locate the style files), because I do not want to ask the very same question for each base control, or for each Syncfusion native control |
We have logged a UG report for this and we will improve it with necessary information. We will update you once it get published. | ||
3 |
inally, does it matter where I merge it, (is it okey if I merge in App.xaml - or do I have to merge in MainWindow.xaml) |
You can merge it in App.xaml or MainWindow.xaml. However while merging the resource dictionary in App.xaml, the style would apply for the whole application. Whereas on merging resource in MainWindow, the theme would apply in window level.
|