Table of Contents
AutoCheckParent Property

Specifies if change a TreeNode's CheckState automatically changes its parent node's CheckState.

Syntax
 public Boolean AutoCheckParent { get; set; }
Remarks

By default, this property is false - means changing a tree node's CheckState has no effect on the CheckState of its parent node.

By setting this property to true, changing a tree node's CheckState causes TreeView to change parent node's CheckState according to the following rule:

Parent node's CheckState is... When...
Checked All child nodes' CheckState is Checked.
Unchecked All child nodes' CheckState is Unchecked.
Indeterminate Child nodes have different states

See Also