Hi
I want to hide the close button, how can I do that?
THanks
Hi Jean-Pascal,
Thank you for your post. I was looking at your issue and it seems I am missing something from your scenario. It is not clear to me where is this "close" button located in relation to the xamRibbon. Can you please provide a screenshot or sample application showing the issue so I can further investigate this matter for you.
Looking forward to hearing from you.
Sincerely,
Radko Kolev
Infragistics Inc.
www.infragistics.com/support
I am just checking to see whether you manage to resolve your issue or if you still need further assistance on this matter.
Please do not hesitate to let me know if you have any further questions on this matter.
The issue still does not resolve. In the standard wpf application, I can insert WindowStyle="None" to hide the close button. How can I do that with RibbonWindow?
Hello Jean-Pascal,
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
If you are using the “Office2013” theme on the xamRibbonWindow you will not be able to hide the caption buttons by setting the WindowsStyle property to None. The reason for this is because in this theme the rendering of the non-client area is very specific and it is processed by the control itself (and not by the OS). There is no single property that can control the visibility of the caption buttons. You can submit a product idea regarding this.
Currently you can hide certain button(s) from the caption area by adding a setter which sets the visibility to collapsed on the style used by each specific button. I am attaching a sample which show how to do this using code behind in the "App.xaml.cs" file.