What happened to it? Don't know if it affected the code below. In either case the code is not working. Seems like it should
I am trying to write code to expand/collapse nodes when they are clicked on regardless if I click on the expand arrow or text.
Getting nowhere.
private void OnTvItemClick(object e, TreeItem tvItem)
{
if(tvItem.HasChildren)
{
tvItem.Expanded = !tvItem.Expanded;
}
}Can you help?
Thanks ... Ed