I have a catel:TabControl with a custom template, in which I use ContentPresenter to... present the content. But it never appears.
The TabControl is binded to a ObservableCollection of viewModels (inheriting a custom base one).
I don't know what I'm doing wrong in this XAML, but there sure is something; or at least if there's not, I'll know I have to look at my code or something.
<catel:TabControl ItemsSource="{Binding ChildViewModels}" SelectedItem="{Binding SelectedChildViewModel, Mode=TwoWay}">
<TabControl.Template>
<ControlTemplate TargetType="{x:Type TabControl}">
<Grid HorizontalAlignment="Stretch">
<TabPanel IsItemsHost="True"/>
<ContentPresenter Content="{Binding SelectedChildViewModel, Converter={catel:ViewModelToViewConverter}}"/>
</Grid>
</ControlTemplate>
</TabControl.Template>
</catel:TabControl>