With WPF,
The project has a custom theme, when the change the Style of the Element to change The Image by
style
trygger , the theme is set back to Default. just like this exemplo :
<syncfusion:RibbonButton x:Name="MyButton"
Label="My Button">
<syncfusion:RibbonButton.Style>
<Style TargetType="syncfusion:RibbonButton">
<Setter Property="LargeIcon" Value="pack://application:,,,/Images/DefaultImage.png" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsButtonEnabled}" Value="True">
<Setter Property="LargeIcon" Value="pack://application:,,,/Images/EnabledImage.png" />
</DataTrigger>
<DataTrigger Binding="{Binding IsButtonEnabled}" Value="False">
<Setter Property="LargeIcon" Value="pack://application:,,,/Images/DisabledImage.png" />
</DataTrigger>
</Style.Triggers>
</Style>
</syncfusion:RibbonButton.Style>
</syncfusion:RibbonButton>
and the theme is Set im App.cs like this:
SfSkinManager.SetTheme(mainView, new Theme("MyTheme"));