This project is read-only.

[Version 2.0] Empty LayoutAnchorablePanes are visible when first displayed

Jul 3, 2012 at 8:34 PM

In MVVM setup, the first time the DockingManager is displayed, all LayoutAnchorablePanes are displayed, even ones that contain no items. The ones without items just take up space defined by DockWidth and DockHeight settings. The empty spaces disappear as soon as I start floating an item from any of the panes that do contain an item.

To reproduce this behavior in MVVMTestApp, initialize Workspace._tools to an empty array, run the application. There will be a blank area at the bottom where the anchorable item would have been. Create a new file, then start dragging the file tab so that it floats. The blank area will disappear.

Jul 10, 2012 at 5:33 PM

Since no one has responded I went ahead and found a simple workaround...

private void mainWindow_Loaded(object sender, RoutedEventArgs e)