You need to keep in mind that the RadTabControl is used in MVVM scenario. This means that the control receives a collection of business items as ItemsSource and uses its ItemTemplate (to structure the header) and ContentTemplate (to structure the content) properties to create RadTabItems.
In your particular case you need to expose properties in the TabViewModel that will hold the information that will be visualized in the content of the RadTabItems. Furthermore, in the DataTemplate called "ContentTemplate" you need to expose controls that will be visualized in the content of each
RadTabItem. Also, you will need to use bindings to the properties exposed in the TabViewModel in order to visualize your business data. You can see how the "TabItemTemplate" is structured and follow the same approach to create your own ContentTemplate.
I hope this information is helpful.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>