or
<HierarchicalDataTemplate x:Key="TopItemTemplate" ItemsSource="{Binding AssociatedOfferings}"> <StackPanel Orientation="Horizontal"> <CheckBox IsChecked="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsEnabled="{Binding IsEnabled}" /> <TextBlock Text="{Binding Name}" Margin="10,0,0,0" /> </StackPanel> </HierarchicalDataTemplate> <telerik:RadTreeView ItemsSource="{Binding Items}" DataContext="{Binding}" ItemTemplate="{DynamicResource TopItemTemplate}" />ThematicLayer.Reader =
new MapShapeReader();
ThematicLayer.Reader.ReadCompleted += MapShapeReader_ReadCompleted;
ThematicLayer.Reader.Source =
new Uri(string.Format(ShapeFilePath, new object[] { layerName, ShapeExtension }), UriKind.Absolute);
ThematicLayer.Reader.DataSource =
new Uri(string.Format(ShapeFilePath, new object[] { layerName, DbfExtension }), UriKind.Absolute);
ThematicLayer.Reader.SourceType =
ShapeSourceType.ShapeFile;
<Style TargetType="{x:Type TreeViewItem}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
</Style>
<Style TargetType="{x:Type telerik:RadTreeViewItem}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
</Style>
but this does not work. Do you have any workarounds for not showing the dotted border?