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
2549
Flyout for DockableControlPane only on click not on mouseover
posted

Hi all,

Is it possible to configure a DockableControlPane to only flypout on a click and not on the mouse hoovering?
It's actually only one of 7 that should behave like that, the rest should still flyout on hoovering.

Thanks in advance and have a great day

Andy 

Parents
  • 23930
    Verified Answer
    Offline posted

    Hi Andy,

    Thank you for posting in our forums.

    What you could do in order to achieve this functionality is to handle the BeforeShowFlyout event and cancel it if it is the pane that you want to flyout only on click. After that with the help of the MouseEnterElement and MouseLeaveElement you can detect if the mouse is over the tab of the pane which you want to flyout on click and subscribe/unsubscribe to the element’s control click event. In this event flyout the pane and use a Boolean flag to prevent canceling the flyout in the BeforeShowFlyout event.

    I have attached a sample which demonstrates this suggestion.

    Please let me know if you have any additional questions.

    WD_FlyoutOnClick.zip
Reply Children
No Data