Hi,
I am using Silverlight Telerik RadTreeListView control, I want to set the margin of all nodes (parent & child).
1. want to reduce the space between ExpanderControl (in my case it is +/- sign) and Node's Text. (Horizontal Space)
2. want to adjust the margin of child elements. (mainly, Left margin)
3. want to reduce the space between All the items. (mainly, Top margin - Vertical Space)
My xaml code is as below.
<Grid x:Name="LayoutRoot”>
<Grid.Resources>
<Style x:Name="buttonStyle" TargetType="telerik:GridViewToggleButton">
<Setter Property="PresentationMode" Value="PlusMinus" />
</Style>
</Grid.Resources>
<telerik:RadTreeListView x:Name="rtSalesInvoicingMenu" ItemsSource="{Binding TreeNodes, Mode=TwoWay}" RowIndicatorVisibility="Collapsed" ShowColumnHeaders="False" AutoGenerateColumns="False" GridLinesVisibility="None" IsReadOnly="True" CanUserFreezeColumns="False" RowLoaded="SalesInvoicingMenu_RowLoaded" CurrentCellChanged="SalesInvoicingMenu_CurrentCellChanged" HierarchyExpandButtonStyle="{StaticResource buttonStyle}" Margin="0" Padding="0" BorderBrush="{x:Null}">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Children, Mode=TwoWay}" />
</telerik:RadTreeListView.ChildTableDefinitions>
<telerik:RadTreeListView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding LocalisedText, Mode=TwoWay}" />
</telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
</Grid>
Can anyone guide me??