Hi Walter,
We have checked the reported requirement and understood that you want to override the Office2019White style for MS Button control. For this the respective XAML path and BasedOn key name are shown in the following code:
Code snippets:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Syncfusion.Themes.Office2019White.WPF;component/MSControl/Button.xaml" /> </ResourceDictionary.MergedDictionaries> <Style x:Key="RecentlyUsedButtonStyle" TargetType="{x:Type Button}" BasedOn="{StaticResource WPFButtonStyle}"> <Setter Property="Background" Value="Transparent" /> <Setter Property="Cursor" Value="Hand" /> </Style> </ResourceDictionary> |
And we have shared a working sample for your convenience.
If the attached sample does not similar to your requirement, please share more details such as a complete code snippet or update us with modifying the attached sample in the issue reproduced state which will be helping us to proceed further to provide the solution at the earliest.
Regards,
Sulthan Amanu
Attachment:
Skinmanager_style_1583fa04.zip