I have a every simple RadTreeview with 2 level deep children and a wrap panel to mimic explorer list view style.
The root level is showing fine, but beyond root level is NOT showing the children nodes. It is, however, only showing the place holder (radtreeview.png).
It works fine if I use System.Windows.Controls.TreeView(TreeView.png), but I need to use RadTreeview.
Any help would be much appreciated.
<Grid Margin="10" >
<telerik:RadTreeView x:Name="trvMenu"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
<telerik:RadTreeView.ItemsPanel>
<ItemsPanelTemplate >
<telerik:RadWrapPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</telerik:RadTreeView.ItemsPanel>
<telerik:RadTreeView.ItemTemplate>
<HierarchicalDataTemplate DataType="{x:Type MenuItem}" ItemsSource="{Binding Items}" >
<TextBlock Text="{Binding Title}" />
</HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
</Grid>
The root level is showing fine, but beyond root level is NOT showing the children nodes. It is, however, only showing the place holder (radtreeview.png).
It works fine if I use System.Windows.Controls.TreeView(TreeView.png), but I need to use RadTreeview.
Any help would be much appreciated.
<Grid Margin="10" >
<telerik:RadTreeView x:Name="trvMenu"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
<telerik:RadTreeView.ItemsPanel>
<ItemsPanelTemplate >
<telerik:RadWrapPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</telerik:RadTreeView.ItemsPanel>
<telerik:RadTreeView.ItemTemplate>
<HierarchicalDataTemplate DataType="{x:Type MenuItem}" ItemsSource="{Binding Items}" >
<TextBlock Text="{Binding Title}" />
</HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>
</telerik:RadTreeView>
</Grid>