fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.56k stars 517 forks source link

RibbonContextualTabGroup not working with Mahapps.MetroWindow #1005

Closed sachabruttin closed 2 years ago

sachabruttin commented 2 years ago

I try to display RibbonContextualTabGroup on a MetroWindow. I followed the https://fluentribbon.github.io/documentation/interop_with_MahApps.Metro guide, but when displaying a ContextualTabGroup, the Context Header is not visible.

Moreover, when binding the Visibility to property to my ViewModel, I'm not able to show/collapse it. It is very frustrating as I have see that I work correctly on your ShowCase application.

Can you check my repro application on https://github.com/sachabruttin/FluentRibbonTest and tell me why it is not working correctly.

Many thanks in advance.


Environment

batzen commented 2 years ago

It doesn't work, as far as i can judge from my phone, because your window does not implement IRibbonWindow.

sachabruttin commented 2 years ago

Just added the IRibbonWindow interface and know it works perfectly.

Thanks a lot.