Skip to main content

TreeViewNodeState.Checked Property

Gets a value that specifies the node check state.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool Checked { get; protected set; }

Property Value

Type Description
Boolean

true, if the node is checked; otherwise, false.

Remarks

Use the Checked property to obtain the node check state.

To allow end-users to check nodes, set the TreeViewSettings.AllowCheckNodes property to true. You can disable the check box for a particular node by setting its TreeViewNode.AllowCheck (via MVCxTreeViewNode.AllowCheck) property to false.

To get the Checked property value on the client side, use the ASPxClientTreeViewNode.GetCheckState method.

Note

The Checked property synchronizes its value with the node’s TreeViewNode.Checked (via MVCxTreeViewNode.Checked) property.

See Also