This is a migrated thread and some comments may be shown as answers.
How to change font and size in radtabcontrol in code behind
1 Answer 20 Views
This is a migrated thread and some comments may be shown as answers.
york
Top achievements
Rank 1
york asked on 14 Apr 2012, 09:35 PM
Hi,
I want to know how to change font and size for RadTabItem in code behind (C#). Thanks.

York

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 18 Apr 2012, 07:59 AM
Hello York,

 You can do like so;

this.tabControl.FontSize =22;
this.tabControl.FontStyle = FontStyles.Italic;
This will apply to the string (textblocks) in the TabHeaders or in the Content of the RadTabItems, even in databinding scenarios.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Asked by
york
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or