RadTabItem 100% collapsed or hidden?

3 posts, 0 answers
  1. Robbe Morris
    Robbe Morris avatar
    25 posts
    Member since:
    Apr 2004

    Posted 31 Mar 2009 Link to this post

    I know this sounds like an odd request but can you post the xaml required to make all headers on a TabControl hidden from view?
    I want to use the functionality of the TabControl but drive tab selection via another UI component.
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 01 Apr 2009 Link to this post

    Hi Robbe Morris,

    Thank you for writting to us. To achieve the task you can use the code below:
    <telerikNavigation:RadTabControl BackgroundVisibility="Collapsed" Width="200" Height="100" > 
                <telerikNavigation:RadTabItem Header="Header 1" Visibility="Collapsed" > 
                    <telerikNavigation:RadTabItem Header="RadTabItem 1" /> 
                </telerikNavigation:RadTabItem> 
                <telerikNavigation:RadTabItem Header="Header 2" Visibility="Collapsed" > 
                    <telerikNavigation:RadTabItem Header="RadTabItem 2"  /> 
                </telerikNavigation:RadTabItem> 
            </telerikNavigation:RadTabControl> 


    Sincerely yours,
    Kaloyan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Robbe Morris
    Robbe Morris avatar
    25 posts
    Member since:
    Apr 2004

    Posted 01 Apr 2009 Link to this post

    Got it.  I would have expected that property to attempt to collapse the contents of the tab and not the header.  But, it works.  Thanks!
Back to Top