All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for Silverlight Forum
/
TabControl
/
RadTabItem 100% collapsed or hidden?
Cancel
Telerik UI for Silverlight
Resources
Buy
Try
Feed for this thread
3 posts, 0 answers
Robbe Morris
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.
Kaloyan
Admin
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.
Robbe Morris
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
Close