|
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Syncfusion.Themes.Office2016Colorful.WPF;Component/Tools/MS Control/MS control.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style x:Key="styleone" TargetType="Button" BasedOn="{StaticResource DefaultButtonStyle}">
<Setter Property="Padding" Value="1,2,1,2"/>
<Setter Property="Margin" Value="1,2,1,2"/>
<Setter Property="Background" Value="Brown"/>
</Style>
</ResourceDictionary>
</Application.Resources> |
|
Syntax:
<ThemeName><Control name>Style
Eg:
DefaultListBoxItemStyle |
|
/Syncfusion.Themes.Office2016Colorful.WPF;Component/Tools/MS Control/ControlName.xaml" |
|
<Style TargetType="{x:Type TextBlock}">
</Style> |
Hi,
I know that this is an older issue but I have a similar question.
You showed that these are correct paths in the RessourceDictionary:
<ResourceDictionary Source="/Syncfusion.Themes.Metro.WPF;component/SfDataGrid/SfDataGrid.xaml" />
<ResourceDictionary Source="/Syncfusion.Themes.Metro.WPF;component/Tools/MS Control/MS control.xaml" />
But how do I reference the "smaller" Syncfusion controls like "upDown"? This does not work:
<ResourceDictionary Source="/Syncfusion.Themes.Metro.WPF;component/UpDown/UpDown.xaml" />
Thank you for your help.
Regards,
Peter
Hi Peter,
We have checked your query, "Resource cannot found". We suggest to use the below ResourceDictionary Source path for the UpDown control in the Metro theme.
<ResourceDictionary> </ResourceDictionary.MergedDictionaries> |