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
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.
Hi Dimitar,
thanks a lot for this suggestion Dimitar and also for the attached sample.That was pretty fast, it is highly appreciated!
Infragistics support is always one of the most outstanding ones ;)
Thanks again and have a great dayAndy