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
100
Floating SplitPane Height/Width
posted

I'm attempting to launch a SplitPane in the floating state with a default Height and Width. I've found that setting the Height and Width on the SplitPane causes problems. If I resize the floating pane, the inner content does not resize (stuck at the provided Height and Width). I've traversed the visual tree and discovered a ToolWindowHostWindow that contains the SplitPane. Setting the Height/Width on this does nothing, but settings Min Height/Width does work correctly.

 

Is there a way I can launch a floating SplitPane, manually set the Height and Width, and still get the content to resize as I shrink/expand the window? This is how the WPF Window class works, I want my floating panes to behave the same way.

Parents
  • 54937
    Offline posted

    The xamDockManager defines an attached property named FloatingSize which one can use (on the root/floating SplitPane) to set the size of the floating window.

Reply Children