I have a Ribbon and all right, but when i config the application menu, it throw an error:
....
I removed lineas for simplify:
....
and the error is this:
other thing that i see is that if change de title of application menu, and it doesn't show the change when it run:
<syncfusion:Ribbon x:Name="rbMenu" VerticalAlignment="Top" Grid.ColumnSpan="4" ApplicationMenuHeader="Home">
...
Hi Ricardo,
Query 1: Exception was thrown when configure the Application menu.
We are unable to reproduce the issue from our end. Please refer to the attached sample for your reference.
Could you please share the following details.
Query 2: How to change the header of the application menu.
We suggest you to use the “BackStageHeader” property instead of “ApplicationMenuHeader” property to change the header of the application menu.
Hi!
I know how resolve the query 1, I pass both examples, the principal different is the use of:
SfSkinManager.ApplyStylesOnApplication = true;
what it is correct use?
Hi Ricardo,
To
apply a theme globally in an application, set the ApplyStylesOnApplication
property to True. It merges all the theme resource files to
Application.Current.Resources. Please refer to the attached documentation for
your reference.
Documentation link: WPF
Skin Manager | Apply Themes for Syncfusion WPF controls
We have confirmed the reported scenario is a defect and logged a report for the
reported scenario “System.Reflection.TargetInvocationException occurs while
setting the ApplyStylesOnApplication property in Ribbon”. We will provide
the fix in the Weekly NuGet release on 11th April 2023.
You can track the status of this defect using the following feedback link: System.Reflection.TargetInvocationException occurs while setting ApplyStylesOnApplication property in Ribbon in WPF | Feedback Portal (syncfusion.com)
If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.
Please let us know if you need any further assistance.
Note: The provided feedback link is private, and you need to log in to view
this feedback.
Regards,
Bagavathi Perumal A
Hi Ricardo,
Sorry for the inconvenience,
We are still working on this issue with high priority. We will update the fix in our upcoming NuGet release which is scheduled on 18th April 2023. We will appreciate your patience until then.
Regards
Raghavendra S
Hi Ricardo,
We have included the fix for the reported issue “System.Reflection.TargetInvocationException occurs while setting the ApplyStylesOnApplication property in Ribbon” in our Weekly NuGet release version 21.1.41 which is available for download (https://www.nuget.org/).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.