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
365
ArgumentException with XamDockManager 14.1
posted

Hello, we've just updated to 14.1 and the XamDockManager throws when you click a resizer bar. It's easy to recreate, just dock a window below another one then click a horizontal resizer.

Just configure window with two splitpanes as such:

<d:XamDockManager>
<d:XamDockManager.Panes>
<d:SplitPane>
<d:ContentPane Header="Pane1"></d:ContentPane>
</d:SplitPane>
<d:SplitPane>
<d:ContentPane Header="Pane2"></d:ContentPane>
</d:SplitPane>
</d:XamDockManager.Panes>
</d:XamDockManager>

Dock one of the windows below the other and click the resizer. You get the following exception.

An unhandled exception of type 'System.ArgumentException' occurred in WindowsBase.dll Additional information: '100,NaN' is not a valid value for property 'RelativeSize'.

Parents Reply Children