A newer version of this page is available. Switch to the current version.

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; }
Public Property AllowCheckNodes As Boolean

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