Is it possible to create a vertical menu with a slide out and lock functionality. I.e like a dock panel to the left that can be pinned however is a menu and allows the pin button to be in a custom place. I can do most of this the DockManager except that I need the whole side to cause the "flyout" effect not just the header and that it should "flyin" as soon as the mouse is not over it, also not sure that the pin button can be moved?
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the PaneTabItem and bound its Height to the UnpinnedTabItemPanel’s ActualHeight using a Converter. This way the header takes all the vertical space. I also copied the default Style of the PaneHeaderPresenter, so I can modify the Pin button. In order to make the pane flyin immediately, I created a Style for the ContentPane and handled its MouseLeave event and in the handler I execute a command for flyin. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Yeah this is more or else what I am looking. Thanks for the quick response and awesome solution. Much appreciated. Keep up the good work.
Thank you for your feedback. I am glad that my solution helps you and I believe that other community members may benefit from this as well.
I just noticed that in your example there is a small gap at the top of the pane. Is there a way to get rid of this? I managed to get rid of the bottom one by changing the HeightConverter to subtract 15 instead of the 18 you had. Also is there a way to style the header so that it does not appear?
I have modified the sample I sent you before, so now it has the functionality you want. Please let me know if this helps you or you have further questions on this matter. Looking forward for your reply.