This question is locked. New answers and comments are not allowed.
foreach(var item in radTreeView.CheckedItems)
{
if (item is RadTreeViewItem)
{
RadTreeViewItem rtv = item as RadTreeViewItem;
if (rtv.ParentItem == null && rtv.childItem==null)
{
foreach (RadTreeViewItem subItem in rtv.Items)
i++;
}
}
I write the code above, but rtv.childItem is wrong...
{
if (item is RadTreeViewItem)
{
RadTreeViewItem rtv = item as RadTreeViewItem;
if (rtv.ParentItem == null && rtv.childItem==null)
{
foreach (RadTreeViewItem subItem in rtv.Items)
i++;
}
}
I write the code above, but rtv.childItem is wrong...