This is a migrated thread and some comments may be shown as answers.

How to change font style in TabItem header?

1 Answer 92 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Charles Bates
Top achievements
Rank 1
Charles Bates asked on 10 Sep 2010, 02:29 PM
Hello,
VS 2010, Telerik Controls for Silverlight 2010.1.422.1030.

When a tabitem is selected, I would like its header's font to be bold.  
In the TabCntrl_SelectionChanged handler, I added this:
TextBlock tb = ti.Header as TextBlock;
if (null != tb)
{
    tb.FontWeight = FontWeights.ExtraBold;
}
I has no effect, though.
what am I doing wrong?
Thanks for any insight...

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Sep 2010, 11:49 AM
Hello Charles ,

Please find attached an example.

If you have further questions please do not hesitate to ask us.
I hope this will help you.


Sincerely yours,
Dimitrina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TabControl
Asked by
Charles Bates
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or