fluentribbon / Fluent.Ribbon

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

Using the Fluent.Ribbon with Prism #1200

Closed Yucca771 closed 2 months ago

Yucca771 commented 2 months ago

Discussed in https://github.com/fluentribbon/Fluent.Ribbon/discussions/1199

Originally posted by **Yucca771** April 18, 2024 When I try and use the Fluent.Ribbon with Prism it will not render and gives the following error: - System.InvalidOperationException: 'Window must be the root of the tree. Cannot add Window as a child of Visual.' Is there a working example anywhere or can anyone help?
batzen commented 2 months ago

I don't use Prism, but judging from the exception you are trying to use a RibbonWindow as the content for some other ui element which is not allowed in WPF.