How to change font and size in radtabcontrol in code behind

2 posts, 1 answers
  1. york
    york avatar
    160 posts
    Member since:
    Jul 2012

    Posted 14 Apr 2012 Link to this post

    I want to know how to change font and size for RadTabItem in code behind (C#). Thanks.

  2. Answer
    Petar Mladenov
    Petar Mladenov avatar
    3140 posts

    Posted 18 Apr 2012 Link to this post

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

Back to Top