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 font for TabbedMDIManager

Thread ID:

Created:

Updated:

Platform:

Replies:

60748 May 10,2007 04:21 PM May 14,2007 09:36 AM Windows Forms 2
loading
Tags: Tools
Feng Sha
Asked On May 10, 2007 04:21 PM

Just a quick question. How do I set the text font for the tabs on TabbedMDIManager? I cannot find any properties I can use.
Thanks,
Frank

Rajesh C [Syncfusion]
Replied On May 10, 2007 06:22 PM

Hi Frank,

Thank you for using Syncfusion products.

You can set the text font for the tabs on TabbedMDIManager by using TabControl.Font property. You can handle TabControlAdded event. Please refer the following code snippets which illustrates the same:

[ C# ]
private void tabbedMDIManager_TabControlAdded(object sender, TabbedMDITabControlEventArgs args)
{
.
.
args.TabControl.Font = new Font("Times New Roman ", 20);
args.TabControl.ActiveTabFont = new Font("Times New Roman ", 20);
}

Please let me know if you have any other queries.

Regards,
Rajesh C

Feng Sha
Replied On May 14, 2007 09:36 AM

yes this works. thanks. frank

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.

;