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
990
Unpinned panel size - auto hide
posted

I have a panel whos height can vary (it just sizes to its contents). It all works great when the panel is pinned, but as soon as I unpin it, the height becomes fixed, and no longer adapts to its contents.

How can I get the unpinned panel to re-measure, so it's expanded height will be correct?  

Update: if the panel starts off as IsPinned="false" then it DOES correctly alter it's height according to content. However, as soon as I turn auto-hide off (at runtime), and then turn it back on again, the problem returns.

This is the same as my original experience, where IsPinned="true", and at runtime I turned auto-hide on.

It seems that doing auto-hide false -> true at run time causes the panel height to get fixed?