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.

How to set Tabs size (width ) in the Sync fusion using c#

Thread ID:

Created:

Updated:

Platform:

Replies:

116895 Jun 26,2014 01:34 AM Nov 7,2014 01:36 AM Windows Forms 3
loading
Tags: TabbedMDIManager
Venkaiah
Asked On June 26, 2014 01:34 AM

hi Viewer,

i am trying to set width of tabbed mdi manager in windows please help me 



thanks in Advance


Senthil Kumaran Rajan [Syncfusion]
Replied On June 27, 2014 08:37 AM

Hi Venkaiah,

Thanks for using Syncfusion product,
 
Wed have forwarded the query to our development team for further analysis regarding the query "setting the group width in the TabbedMDIManager". We will get back to you with the analyzed details before the end of July 01, 2014.

Please let us know if you have any concern,

Regards,
R.Senthil kumaran

Senthil Kumaran Rajan [Syncfusion]
Replied On July 1, 2014 08:48 AM

Hi Venkaiah,

Thanks for your patience, 

We are sorry to let you know that, in TabbedMDIManager each TabGroup size will be calculated and assigned in default based on its parent form size and space availability, not based on user defined size settings.

Please let us know if you need any future assistance,

Regards,
R.Senthil kumaran

Saravanan T [Syncfusion]
Replied On November 7, 2014 01:36 AM

Hi Venkaiah,

 

Sorry for the inconvenience caused,

 

We would like to let you that the width of the tabs in TabbedMDIManager can be set by handling TabControlAdded event. We have used the TabControl ItemSize property to set the height/width of the tabs. Please have the below code snippet for your reference.

 

Code Snippet [C#]:

 

tabbedMDIManager.TabControlAdded += new TabbedMDITabControlEventHandler(this.tabbedMDIManager_TabControlAdded);

 

private void tabbedMDIManager_TabControlAdded(object sender, Syncfusion.Windows.Forms.Tools.TabbedMDITabControlEventArgs args)

{

    args.TabControl.SizeMode = Syncfusion.Windows.Forms.Tools.TabSizeMode.Fixed;

    args.TabControl.ItemSize = new Size(120, 45);

}

 

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/131722/Tabbed_MDI_Demo330737134.zip

 

Note: The width of the tabs can be set by setting TabSizeMode is Fixed.

 

Please let us know if you need any further assistance or if we have misunderstood your query,

 

Regards,

Saravanan T


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.

;