We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Docking manager handling with mouse

Hi,

We currently have 2 (small) tabs in a docking manager. In order to improve the behaviour with a mouse, is there a way to delay to the "tab mouse over" event? If not, is there a way to set a minimum width (AutoHideTabMinimumWidth)?

Thank you

5 Replies

ST Saravanan T Syncfusion Team February 4, 2015 12:24 PM UTC

Hi Charles,

Thank you for using Syncfusion products,

Is there a way to delay to the "tab mouse over" event

No, At present there is no option to delay the MouseHover event. Because Mouse Hover event will be raised once mouse pointer enters in control bounds by default.

Is there a way to set a minimum width (AutoHideTabMinimumWidth)?

We request you to confirm, if this stated requirement is to customize Auto Hide Tab height. If so, that can be achieved by using property named AutoHideTabHeight in Docking Manager. Please make use of below image and code snippet for your reference.

Image:

Code Snippet[C#]:

//Setting controls an auto hidden mode

this.dockingManager1.SetAutoHideOnLoad(this.panel1, true);

//Setting Auto hide tab height

this.dockingManager1.AutoHideTabHeight = 20;

We have also prepared a sample to achieve your requirement and it can be downloaded from the following link.

Link: http://www.syncfusion.com/downloads/support/directtrac/118133/DockingManager_MinimumWidth-37334202.zip

UG Link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/autohiddentabs.htm

Please let us know if you need any further assistance on this,

Regards,

Saravanan T




CR Charles Ricard February 4, 2015 02:20 PM UTC

No, I do not want to change the height like in your example. I am speaking about the width.


AJ Ashwini Jaya Preetha Durai Samy Syncfusion Team February 5, 2015 06:02 AM UTC

Hi Charles,

 

Thank you for your update,

 

We would like to let you know that, at present there is no direct support to change the width of the AutoHide tab. Alternately we can achieve this stated requirement for customizing Auto Hidden Tab width by using the property named AutoHideTabFont in Docking Manager. Please make use of below code snippet for your reference.

 

Code snippet[C#]:

 

Font font = new Font("Seoge UI", 10);

this.dockingManager1.AutoHideTabFont = font;

 

 

We have also modified the sample as it suits this requirement and it can be downloaded from the following link.

 

Sample link:http://www.syncfusion.com/downloads/support/directtrac/118133/DockingManager_AutoHideTabWidth-1594279326.zip

 

Please look into the sample and kindly let us know if it meets your requirement. Otherwise could you please share us more details like screen shot? That will be helpful for us to understand your requirement clearly and provide prompt solution as earlier as possible.

 

Please let us know if you need further assistance,

 

Regards,

Ashwini



CR Charles Ricard February 5, 2015 02:30 PM UTC

No, it does not meet my requirements. Here is a picture. The minimum width would increase the width of the "Info" tab.

Attachment: tabWidth_ebbe078b.zip


AJ Ashwini Jaya Preetha Durai Samy Syncfusion Team February 6, 2015 11:43 AM UTC

Hi Charles,

 

Thank you for the update.

 

A support incident to track the status of the above query has been created under your account. Please log on to our support website to check for further updates

 

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents   

 

Please let us know if you need further assistance,

 

Regards,

Ashwini


Loader.
Live Chat Icon For mobile
Up arrow icon