AutoHidden panes never show again

Nov 25, 2013 at 3:15 PM

I'm using the DockingManager to place various panes. If I click on the pin locking a pane in place, it is collapsed and it's title is dispayed at the corresponding edge of the window. But I can never re-open the pane again. Clicking on it, nothing happens.

When I click a header of an autohidden pane, the following shows up in the DEBUG window:

SetFocusOnLastElement(focused=False, model=Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable, element=)

What am I missing?

regards, Tilli
Jan 5, 2014 at 3:03 PM
I found that it seems to be a collision with the MahApps.Metro theme. If I change my window from a MetroWindow to a regular one, it works again.
Jan 11, 2014 at 11:55 PM
I am also having this same issue. Any ideas on what may be causing the problem?
Jan 12, 2014 at 8:07 AM

Hi rmonty, yes, see my previous post. It was the MetroWindow from MahApps, which causes the collision. I was not able to locate the exact problem. But not inheriting from MetroWindow solved the problem for me (with the drawback of not having the metro style window). Regards, Tilli

Mar 18, 2014 at 2:58 PM
Hi Guys,

I had the same issue. The root cause of the issue seems to be that MahApps has transparency behaviour enable by default. So eventhough the dock window is shown on the UI it is not visible beacuse it is transparent. This link shows how to use behaviours in MahApps.

There is a property called AllowsTransparency which needs to be set as "False".
<behaviours:BorderlessWindowBehavior AllowsTransparency="False" ResizeWithGrip="True"/>
Hope it helps!
Mar 19, 2014 at 9:04 PM

Hi, great, thanks for the workaround!

Apr 2, 2014 at 2:47 PM
works great! Did you also manage to get the Pin working aswell? I cannot pin by touch. I must use the mouse. The mouse-over effect also is not working when working with touch (fingers).