Category / Section
How to start auto hide animation for mouse click only in WinForms Docking Manager?
2 mins read
Auto hide selection style
The DockingManager has a property called AutoHideSelectionStyle through which it is possible to get the desired behaviour. By default, the value is MouseHover. Please refer the below code snippet which illustrates this.
C#
// Click-Hidden windows will slide out only when we click on the corresponding Autohide Tab dockingManager1.AutoHideSelectionStyle = AutoHideSelectionStyle.Click;
VB
'Click-Hidden windows will slide out only when we click on the corresponding Autohide Tab Me.DockingManager1.AutoHideSelectionStyle = Syncfusion.Windows.Forms.Tools.AutoHideSelectionStyle.Click
Note:
This property is available from the version 4.1.0.70 onwards.
Sample: http://help.syncfusion.com/support/samples/kb/Tools.Windows/TDAniMClick/AniMClick.zip
UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/auto-hide-window#auto-hide-selection-style