Skip to main content
A newer version of this page is available. .

TreeViewSettings.AllowCheckNodes Property

Gets or sets a value that specifies whether the nodes checking feature is available.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public bool AllowCheckNodes { get; set; }

Property Value

Type Description
Boolean

true if check boxes are available; otherwise, false.

Remarks

The TreeView allows end-users to check nodes using node check boxes. The AllowCheckNodes property controls the availability of check boxes for all nodes. For individual nodes, the visibility of their check boxes can be specified using the TreeViewNode.AllowCheck property on the node level. A particular node’s check box is enabled if both the control’s AllowCheckNodes and the node’s TreeViewNode.AllowCheck properties are set to true.

Note, that the AllowCheckNodes property doesn’t change a node’s checked status. It only hides/shows check boxes. The checked state of an individual node can be specified using the node’s TreeViewNode.Checked property.

See Also