Hi Team
We are facing frequent more bottom margin issue in RadTreeView with TreeVirtualizationMode="Hierarchical".
There is two level of grouping like parent, child and grandchild. With Hierarchical mode it is happening frequently. But with Recyling and Standard mode it is not happening but the performace is not good. So it is not helping right now.
Tried to adjuest the padding, margins of TreeViewPanel. Nothing helpped. And the number of grand child count is dynamic so cannot assign Height as well.
Need some suggestion. Thanks in advance!
Eg.
Parent A (Expander)
Child A (Expander)
Grandchild A (Content)
Grandchild B (Content)
-----------------------------
----More Blank Space----
------------------------------
Parent B (Expander)
Code
<telerik:RadTreeView x:Name="SearchResultTreeView"
BorderThickness="0"
PreviewKeyDown="SearchResultTreeView_PreviewKeyDown"
telerik:RadTreeViewItem.Selected="SearchResultTreeView_Selected"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
IsVirtualizing="True"
telerik:TreeViewPanel.TreeVirtualizationMode="Hierarchical"
PreviewMouseLeftButtonDown="SearchResultTreeView_PreviewMouseLeftButtonDown"
Margin="0,-1,-1,0" ItemsSource="{Binding MyDummyCollectionView}"
Background="{x:Null}"
BorderBrush="{x:Null}">
Thank you Stenly.
Unfortunately we cannot repro the issue with this sample project as you said.
In our application we are having more custom styles and controls, those are used with the RadTreeView. I tried to copy possible styles to this sample project to repro the issue. Still it is not showing any padding issue.
But we are having same styles with few more controls in our application, and it is happening frequently for us with the Hierarchical mode.
Surprisingly with Recycling mode, the issue is not at all happening. And in this mode we can see little jagging when scrolling through scrollbar.
Please find my attachments for the sample project with few updates and actual screenshot of our issue. Some time the padding will be 3 to 4 times as given in the screenshot. They are mostly comes after the last node.
Thank you
We are using Telerik.Windows.Controls
Version: 2017.2.503.45
Runtime: v4.0.30319