<DataTemplate x:Key="MiaSubCategoria">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Nome}"/>
</StackPanel>
</DataTemplate>
<HierarchicalDataTemplate x:Key="MiaCategoria"
ItemTemplate="{StaticResource MiaSubCategoria}"
ItemsSource="{Binding SubCategorie}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Nome}"/>
</StackPanel>
</HierarchicalDataTemplate>
SET TREEVIEW:
<telerikNavigation:RadTreeView Canvas.Left="62" Canvas.Top="25" Height="137" Name="RadTreeView1" Width="486" IsSingleExpandPath="True" TextDropAfter="Dopo" TextDropBefore="Prima" TextDropIn="In mezzo a" AllowDrop="True" IsDragDropEnabled="True" HorizontalContentAlignment="Stretch" IsExpandOnDblClickEnabled="False" IsExpandOnSingleClickEnabled="True" ItemTemplate="{StaticResource MiaCategoria}"/>
VB CODE FOR POPULATING TREE
Dim miacollez As ObservableCollection(Of Categorie)
miacollez =
New ObservableCollection(Of Categorie)(MyEDM.Categorie.Include("SubCategorie"))
Me.RadTreeView1.ItemsSource = miacollez
Hi, I need clarification on how to handle correctly the label called DragTooltipText because I can not set the field name but I associate the name of dataobject (look image in attach). I tried with the styles but does not work .. I can only change colors but the content changes runtime clearly as I do?
Thanks for your cooperation
Marcello
PS: Sorry for my english