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

New Post: [Version 2.0] Collapsed or hidden?

$
0
0

Continuing to play with AD, now I've discovered that if I deserialize a layout in which I have hidden anchorables and, in the LayoutInitializer I add them to the LayoutAnchorablePane, their style is not loaded (the Style selector is never called).

I guess it's the correct behaviour but... there's a but... I'm controlling the Visibility of these LayoutAnchorableItems through the binding that is defined inside the style... so it's impossible for me to bring them to visible again cause the binding has not be set up.

What is the correct procedure to handle the Hidden items that we find in the serialized layout? Should I set them to visible just for them to load their style and then again to invisible once loaded?

Thank you


Viewing all articles
Browse latest Browse all 2690

Trending Articles



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