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

tab width, tab-text alignment and more

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.

1 Reply

MU Murugan Syncfusion Team March 22, 2007 04:19 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon