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.

tab width, tab-text alignment and more

Thread ID:

Created:

Updated:

Platform:

Replies:

58281 Mar 21,2007 12:16 PM Mar 22,2007 12:19 PM Windows Forms 1
loading
Tags: Tools
Ryan Hardoon
Asked On March 21, 2007 12:16 PM

Hi everybody,

does anyone know of a way to override automatic tab width and to control tab-text alignment of TabPageAdv ?

Is there a way to rotate the tabs when they're not in right-to-left mode.

Is there a way to neutralize active-tab text from automatically becoming bold at runtime.



Thanks in advance.

Murugan [Syncfusion]
Replied On March 22, 2007 12:19 PM

Hi Ryan,

Thanks for using Syncfusion products.

This could be achieved by customizing the TabControlAdv.

does anyone know of a way to override automatic tab width and to control tab-text alignment of TabPageAdv ?

Please set the SizeMode and TabSize of the CustomTabControl as below

this.customTCA1.TabPanelData.SizeMode = Syncfusion.Windows.Forms.Tools.TabSizeMode.Fixed;
this.customTCA1.TabPanelData.TabSize = new SizeF(75, 25);

Is there a way to neutralize active-tab text from automatically becoming bold at runtime.

Please set the ActiveTabFont of the CustomTabControl.

this.customTCA1.ActiveTabFont = new Font(this.customTCA1.ActiveTabFont.FontFamily, this.customTCA1.ActiveTabFont.SizeInPoints, FontStyle.Regular );

Herewith I have attached the sample. Please refer to the sample and let me know if it helps you.

http://websamples.syncfusion.com/samples/Tools.Windows/F58281/Main.htm

Regards,
Murugan P.S

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.

;