How to change font style in TabItem header?

2 posts, 0 answers
  1. Charles Bates
    Charles Bates avatar
    45 posts
    Member since:
    Feb 2010

    Posted 10 Sep 2010 Link to this post

    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...

  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 15 Sep 2010 Link to this post

    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
  3. DevCraft banner
Back to Top