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.
Unfortunately, activation email could not send to your email. Please try again.

Docking manager handling with mouse

Thread ID:

Created:

Updated:

Platform:

Replies:

118133 Feb 3,2015 04:07 PM Feb 6,2015 06:43 AM Windows Forms 5
loading
Tags: DockingManager
Charles Ricard
Asked On February 3, 2015 04:07 PM

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

Saravanan T [Syncfusion]
Replied On February 4, 2015 07:24 AM

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



Charles Ricard
Replied On February 4, 2015 09:20 AM

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

Ashwini Jaya Preetha Durai Samy [Syncfusion]
Replied On February 5, 2015 01:02 AM

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


Charles Ricard
Replied On February 5, 2015 09:30 AM

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

Ashwini Jaya Preetha Durai Samy [Syncfusion]
Replied On February 6, 2015 06:43 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;