ASPxTreeView.AllowCheckNodes Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll


public bool AllowCheckNodes { get; set; }

Property Value

Type Default Description


true if check boxes are available; otherwise, false.


The ASPxTreeView 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.

For more information see the Check Box Support topic.


This example demonstrates how you can use the ASPxTreeView's AllowCheckNodes and TreeViewNode's AllowCheck properties to manage the visibility of check boxes.See also:TreeView - How to manage the visibility of check boxes via the AllowCheck property

View Example

<dx:ASPxRadioButtonList ID="ASPxRadioButtonList1" runat="server" 
    AutoPostBack="True" ClientIDMode="AutoID" 
        <dx:ListEditItem Text="Hide all check boxes" Value="Hi