:
<Style TargetType="{x:Type TreeViewItem}" BasedOn="{StaticResource {x:Type TreeViewItem}}">
<Setter Property="Margin" Value="0,0,0,0" />
</Style>
TreeViewItem . TreeViewItem, BaseOn="{StaticResource [YourStyleKey]}" ( []).
, Blend ControlTemplate TreeViewItem, , ( , , , , ).
, Blend , , Telerik ( , ). TreeViewItem ControlTemplate, , ().
Using Blend, you can get the templates for all the building blocks of the TreeView control and make them look like them. You just need to do digging.
source
share