Can a RibbonWindow be injectd into a StackPanel?

Topics: Prism v4 - WPF 4
Jun 22, 2012 at 6:18 PM

Can a RibbonWindow module be injected into a StackPanel in a ShellWindow?

Jun 22, 2012 at 7:58 PM


As far as I know, this is not possible because:

  • In WPF it's not possible to host a Window inside another control. As RibbonWindow inherits from type Window, I believe this limitation is present in it too. You can find better support regarding this specific item in the WPF Forums.
  • Also, StackPanel is a control which inherits from type Panel. As Prism does not provide region adapters for Panels as out of the box, it's not possible to define a StackPanel as a region by default.


Damian Cherubini