This is a migrated thread and some comments may be shown as answers.
How to display radtabitem similar to radtab
1 Answer 30 Views
This is a migrated thread and some comments may be shown as answers.
york
Top achievements
Rank 1
york asked on 18 Apr 2012, 11:18 PM
Currently the default radtabitem generated in code behind (C#) is like in RadTab_Silverlight.jpg (attacted). I want it to look like radtab in RadTab.jpg with image in radtabitem. How to do it dynamically?  Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 23 Apr 2012, 02:22 PM
Hello York,

In order to customize the style of the RadTabItems to look similar to the RadTab.jpg snapshot, you need to edit their default ControlTemplate. I attached a sample project to get you started. I modified the default Office_Silver style of the RadTabItems, please have a look at the changes I've implemented and let me know if they help.

Also, as you need to display each item on top of the next one, you'll need to insert some custom logic for defining the ZIndex order of the items. By default each added item in the Items/ItemsSource collection of the RadTabControl is with a higher ZIndex than the previously added one. So in your case, you'll have to invert the ZIndex order of the items.

All the best,
Tina Stancheva
the Telerik team

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

Asked by
york
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or