Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

Commented Issue: [Version 2.0 build 93790] ILayoutUpdateStrategy not working any more [15422]

$
0
0
In the latest build the ILayoutUpdateStrategy not work anymore.
I have tested the AvalonDock.MVVMTestApp, I have added a LayoutAnchorablePane with name="ToolsPane" but in the method BeforeInsertAnchorable of the LayoutInitializer the line

var toolsPane = layout.Descendents().OfType<LayoutAnchorablePane>().FirstOrDefault(d => d.Name == "ToolsPane");

return always a null value, perhaps when this method is called the layout is not built with his Descendants?
Comments: ** Comment from web user: adospace **

ok, the ILayoutUpdateStrategy works fine, the problem is that latest version calls CollectGarbage on current Layout when is received to ensure that all panes are filled with at least a content. In sample project it find the ToolsPane that is empty and correctly removes it from the layout.
I'll find a workaround in next release.


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>