Hi guys,
I would like to set selected node (or nodes) by databinding (highlight a node as if the user clicked on it)...
I went through the online doco but couldn't find a property to bind to. Any help would be appreciated...
Thanks
Hi Henry,
There is a property called SelectedNodes: public SelectedOrgChartNodesCollection SelectedNodes {get;}
Binding directly to it will not work but you can use something like:
foreach (var node in mySelectedNodes)
{
OrgChart.SelectedNodes.Add(node);
}
You can see a working sample for using this property here.
Please let me know if I can provide any further assistance.
Best,
Ivo