Hi,
While i am trying to set the
My requirement is if the row.Level = 3 and row does not have children then i do not need to show that row. My tree can be expanded upto 7th level.
While i am trying to set the
row.Visibility =
Visibility.Collapsed;
then blank spaces appears accross the row in my TreeListView. I do nt want to show the row based on my condition. How i will be able to accomplish that. Please help me.
My requirement is if the row.Level = 3 and row does not have children then i do not need to show that row. My tree can be expanded upto 7th level.
if
(objBind.Level == 3 && objBind.Items.Count == 0)
{
row.Visibility =
Visibility.Collapsed;
row.Height = 0.0;
}