HI,
In Treeview control, i have implemented ItemTemplateSelector and used one of sample template. The issue is releated with horizontal size changed. We don't want to enalbe Horizontal scrollviewer bcz wanted to view Treeviewitem content in wrap format.
I noticed when we do size changes in horizontal direction, it leaves the node text with more spaces. Not looks good.
Please see my attachment. Let me know if you need mroe details.
<telerik:HierarchicalDataTemplate x:Key="AbstractExtensionNodeTemplate" ItemsSource="{Binding Path=BindableChildren}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal">
<Image Source="../Images/abstract.PNG" Grid.Column="0" Margin="0 0 3 0"/>
<Image Source="../Images/extension.PNG" Grid.Column="0"/>
</StackPanel>
<TextBlock Text="{Binding FriendlyName}" TextWrapping="Wrap" Grid.Column="1"/>
</Grid>
</telerik:HierarchicalDataTemplate>
Thanks,
Kapil