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
365
Slide out menu
posted

Hi,

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?

Thanks

Parents
  • 138253
    Verified Answer
    Offline posted

    Hello Hugashen,  

     

    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.

    XamDockManagerSlideMenu.zip
Reply Children