Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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"));