System.Web.UI.TreeNodes Namespace TreeNode Class
.NET Framework version 2.0
Sets or retrieves a value indicating whether a check box is displayed next to a TreeNode.
Inline |
<asp:treenode showcheckbox = true | false ... > |
Script |
TreeNode.ShowCheckBox [ = true | false ] |
This property accepts or returns only a boolean value: true to display a check box; otherwise, false. Default value is false.
Use the ShowCheckBox property to specify or determine whether a check box is displayed next to a TreeNode.
Although the ShowCheckBox property can be used to display check boxes, it is more common to use the ShowCheckBoxes property of the TreeView control. The ShowCheckBoxes property, however, affects every node type specified by the property. You can, however, use the ShowCheckBox property to override that setting for an individual node.
TreeNode Members