Make TabItem Headers Stretch To Fill Available Space

2 posts, 0 answers
  1. Martyn
    Martyn avatar
    18 posts
    Member since:
    Mar 2011

    Posted 19 Jan 2012 Link to this post


    I am trying to style a TabControl so that however many Tab Items are added to the control, they fill the amount of available space at the top of the Tab Control, so that there is no white space alongside the tab headers.

    So, if there are 2 tabs, each tab should take up 50% of the available space, and if there are 3 tabs, each should take up 33.3% of the available space and so on.

    Is this possible and if so, how?

    Thanks very much,

  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 24 Jan 2012 Link to this post

    Hello Martyn,

    In order to implement your scenario you need to set the RadTabControl.Align property to Justify. Give it a try and let me know if it helps.

    All the best,
    Tina Stancheva
    the Telerik team

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

Back to Top