Hi,
I want to collapse the hierarchy expand button (its border container to be accurate) so there will be no white space at the first column content when there is no hierarchy.
I saw that there is a property in the radTreeListView called HasHierarchy, but I cannot change its value (the set is not accessible).
I’ve managed to this in code:
var gridHierarchyBorder = treeListView.FindChildByName("PART_HierarchyIndent") as Border;
if (gridHierarchyBorder == null)
return;
gridHierarchyBorder.Visibility = Visibility.Collapsed;
But I guess there is a more efficient and elegant way to achieve this. Is there?
It seems, there was somesort of latency in content initialization of the RadExpander Control while loading the content using xaml reader,
but the same process works as expected with the first quarter release.