I have a databound tabstrip where the tabs come from one set of data and the content of the tabs is a DataTemplate with a ListView inside. Is there a way to have this scenario but also add additional tabs for items that will not be bound to that DataTemplate?
My tabstrip XAML looks like this:
And then in UserControl.Resources I have the following:
So I want to use this setup but then add an additional tab (or two, etc.) that do NOT use this DataTemplate. My app is based off the MVVM pattern so sticking inside the guidelines of that is preferable (though not required).
Is this possible?
My tabstrip XAML looks like this:
<
telerik:RadTabControl
telerik:Theming.Theme
=
"Windows7"
BackgroundVisibility
=
"Collapsed"
TabStripPlacement
=
"Left"
TabOrientation
=
"Vertical"
DisplayMemberPath
=
"Name"
ItemsSource
=
"{Binding ReviewCategoryModels}"
ContentTemplate
=
"{StaticResource ReviewSectionDetailTemplate}"
Align
=
"Right"
ItemContainerStyle
=
"{StaticResource ReviewCategoryTabStyle}"
/>
And then in UserControl.Resources I have the following:
<
DataTemplate
x:Key
=
"ReviewSectionDetailTemplate"
>
<
ListView
x:Name
=
"items"
ItemsSource
=
"{Binding Items}"
AlternationCount
=
"2"
MinWidth
=
"550"
Style
=
"{StaticResource ReviewItemListView}"
>
[...]
</
ListView
>
</
DataTemplate
>
So I want to use this setup but then add an additional tab (or two, etc.) that do NOT use this DataTemplate. My app is based off the MVVM pattern so sticking inside the guidelines of that is preferable (though not required).
Is this possible?