Using the following code: (Telerik UI for WinForms 2015.2.728)
tvElements.CheckBoxes =
true
;
tvElements.TriStateMode =
true
;
RadTreeNode root = tvElements.Nodes.Add(
"Classes"
);
foreach
(CNFClass cls
in
CNFConf.Classes) {
RadTreeNode parent = root.Nodes.Add(cls.UID.ToString(), cls.Code,
null
);
parent.ToolTipText = cls.Desc;
parent.Enabled = cls.Enabled;
}
Checking the root node will check all Enabled and all Disabled children nodes.
Seems like this may be a bug, is there a workaround?