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.
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,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>