Hi.
I've been playing around with the TreeListView, which I like very much.
However, I notice that when enabling the brushes, the lines are broken when the row height becomes bigger than default (for example, a cell has a lot of text so the row height doubles).
This is the code (and I've attached a screenshot) :
<Grid DataContext="{Binding Source={StaticResource SampleDataSource}}">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerik:RadTreeListView AutoGenerateColumns="False"
TreeLinesVisibility="Visible"
ItemsSource="{Binding People}" Margin="10">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
</telerik:RadTreeListView.ChildTableDefinitions>
<telerik:RadTreeListView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Width=".3*"
Header="Name" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding SurName}" Width=".3*"
Header="Surname" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Address}"
Header="Address" TextWrapping="Wrap" Width=".3*"/>
</telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
</Grid>
I've been playing around with the TreeListView, which I like very much.
However, I notice that when enabling the brushes, the lines are broken when the row height becomes bigger than default (for example, a cell has a lot of text so the row height doubles).
This is the code (and I've attached a screenshot) :
<Grid DataContext="{Binding Source={StaticResource SampleDataSource}}">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerik:RadTreeListView AutoGenerateColumns="False"
TreeLinesVisibility="Visible"
ItemsSource="{Binding People}" Margin="10">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
</telerik:RadTreeListView.ChildTableDefinitions>
<telerik:RadTreeListView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Width=".3*"
Header="Name" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding SurName}" Width=".3*"
Header="Surname" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Address}"
Header="Address" TextWrapping="Wrap" Width=".3*"/>
</telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
</Grid>