Inherits from RibbonWindow
Hi,
1)MainWindow which inherits from RibbonWindow, throws an error when I call ShowDialog.
How can I fix this?
2)How to hide the save button in TitleBar ?
Attachment: WpfApp1_74e363bd.zip
Hi David Chiang,
Query1: "MainWindow which inherits from RibbonWindow, throws an error when I call ShowDialog."
We have confirmed the reported scenario is a defect and logged a report for the reported scenario, “Null exception occurs when a custom window class inherits from RibbonWindow”. We will fix this issue and include it in our NuGet release which is scheduled for 26th August 2025.
You can track the status of this defect using the following feedback link: Null exception occurs when a custom window class inherits from RibbonWindow in WPF | Feedback 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.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Query2: "How to hide the save button in TitleBar ?"
Kindly
follow the below mentioned forum for this query.
Forum Link - Inherits from RibbonWindow - from 197307 | WPF Forums | Syncfusion®
Regards,
Karthick Arjunan
Hi David Chiang,
We
have resolved the reported issue “Null exception occurs when a custom window class inherits from RibbonWindow” from our end. The fix will be included in our upcoming
Volume 3 main release. We’ll notify you once the release is published. We appreciate your patience in the meantime.
Regards,
Karthick Arjunan
Hi,
Could you please let me know when the next software update is scheduled?
Best regards,
David
Hi David Chiang,
We have included the fix for the reported issue "Null exception occurs when a custom window class inherits from RibbonWindow" in our Volume 3 release version "31.1.17" which is available for download ( https://www.nuget.org/).
Root Cause: The logic does not include a condition to handle windowType.BaseType.BaseType specifically for RibbonWindow. As a result, the RibbonWindow case is skipped, and the WindowStyle is applied instead of RibbonWindowStyle.
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.
Regards,
Karthick Arjunan
- 4 Replies
- 2 Participants
- Marked answer
-
DC David Chiang
- Aug 8, 2025 06:59 AM UTC
- Sep 5, 2025 06:03 PM UTC