TreeList.SetNodeCheckState(TreeListNode, CheckState) Method
Sets the node’s check state to the specified value.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Parameters
Name | Type | Description |
---|---|---|
node | TreeListNode | A TreeListNode object whose check state is to be changed. |
state | CheckState | A CheckState value that specifies the node’s new check state. |
Remarks
This SetNodeCheckState method overload does not affect the check states of the node‘s children.
The node checking feature is controlled by the TreeListOptionsView.CheckBoxStyle, TreeListOptionsView.RootCheckBoxStyle and TreeListNode.ChildrenCheckBoxStyle properties.
See Node Checking - Checkboxes and Radio Buttons to learn more.
See Also