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" />
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.
I can't provide an example at the moment. It's unfortunate that there is not a way tohave it perform the layout without being shown. Thanks for the tip on the Width attribute, I noticed things weren't working as I intended when I had it like that.