I have the following XAML:
<TreeView>
<TreeViewItem ItemsSource={Binding} Header="TopMost" IsExpanded="True">
<TreeViewItem.ItemTemplate>
<DataTemplate>
<TreeViewItem>
<TreeViewItem.Header>
<TextBlock Text="{Binding SubTopic}"/>
<TreeViewItem.Header>
<!-- further data representation -->
</TreeViewItem>
</DataTemplate>
</TreeViewItem.ItemTemplate>
</TreeViewItem>
<TreeViewItem>
</TreeViewItem>
</TreeView>
The first TreeViewItem does expand and show its children, but the selector that should be visible on the left of the text TopMost is not present. I can get the children of the main TreeViewItem to collaps and expand by double clicking the TopMost Header. How do I solve this?