|
NodeCheckBox node control
Saturday, 12 September 2009
The NodeCheckBox node control allows you to show a checkbox or radio button icon inside a node. Please note that it displays only an image of a checkbox or radio button, without text. To show text, add the NodeTextBox node control after the NodeCheckBox.
Example: NodeCheckBox nodecontrol = new NodeCheckBox(); nodecontrol.AttachTo(tree); Node node = new Node(“node title”); node.CheckState = eCheckState.Checked; // define the check type for every node. node.CheckType = eCheckType.RadioButton // or eCheckType. CheckBox node.AttachTo(tree);
|
|