Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
445
Can't fit the canvas onto contentPane when using XamDockManager in Prism.
posted

Hello.

I'm using XamDockManager and TabGroupPaneRegionAdaptor which brian Ragunas published.

When I add GLControl (OpenTK Canvas Control) into ContentPane via WindowsFormsHost, two problem happens.

First, Margin between ContentPane and GLControl Canvas is created.

Second, After added GLControl Canvas into ContentPane, the Canvas is resizable all along the canvas even if there are gridsplitters wrapping the canvas. that's not something I expected.

This only happens when I use XamDockManager and TabGroupPaneRegionAdapto both. No problem with XamDockManager only.

I'm attaching the bad and good case. Please check and give me any guide or hint.

GOOD CASE : https://github.com/jswpro/AddCanvasToContentPane.git

BAD CASE : https://github.com/jswpro/AddCanvasToContentPane2.git 

thanks in advance.

Parents Reply Children
No Data