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
144
Unpinned ContentPane is shown briefly at application startup
posted

I have a ContentPane in my XamDockManager that I would like to be unpinned and collapsed to the side at application startup. I have the IsPinned attribute set to False. When I start the application the ContentPane is shown briefly before collapsing (instantly, not the animated slide out).

How can I prevent the ContentPane from being shown at application startup? I want it to be unpinned right from the start.

<igDock:ContentPane Header="ABC123" IsPinned="False" Width="200" />

Parents
No Data
Reply
  • 54937
    Verified Answer
    Offline posted

    When the extent (width for dockedleft/right and height for dockedtop/bottom) of the root splitpane is specified, in order to know the extent that the element would be when it is pinned to determine the initial extent of the flyout the xamDockManager delays actually unpinning it until it can process the layout. It is possible that as part of that delayed unpinning that the pane is showing up but I thought this happened when the dm was loaded. Do you have a sample that demonstrates the issue? BTW, it is not recommend to set a Width/Height on a ContentPane since when you do that in WPF, the ancestor elements may be resized but the element itself will always be that extent.

Children