Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TabControl > Make TabItem Headers Stretch To Fill Available Space

Not answered Make TabItem Headers Stretch To Fill Available Space

Feed from this thread
  • Martyn avatar

    Posted on Jan 19, 2012 (permalink)

    Hi,

    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,

    Martyn.

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jan 24, 2012 (permalink)

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > TabControl > Make TabItem Headers Stretch To Fill Available Space
Related resources for "Make TabItem Headers Stretch To Fill Available Space"

Silverlight TabControl Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]