Inherits from RibbonWindow

Hi,

1)MainWindow which inherits from RibbonWindow, throws an error when I call ShowDialog.

How can I fix this?
P1.png


2)How to hide the save button in TitleBar ?
P2.png



Attachment: WpfApp1_74e363bd.zip

4 Replies 1 reply marked as answer

KA Karthick Arjunan Syncfusion Team August 11, 2025 10:58 AM UTC

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


Marked as answer

KA Karthick Arjunan Syncfusion Team August 28, 2025 11:57 AM UTC

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



DC David Chiang September 5, 2025 06:13 AM UTC

Hi,

Could you please let me know when the next software update is scheduled?

Best regards,
David



KA Karthick Arjunan Syncfusion Team September 5, 2025 06:03 PM UTC

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


Loader.
Up arrow icon