TreeList.SetNodeCheckState(TreeListNode, CheckState) Method
In This Article
Sets the node’s check state to the specified value.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public void SetNodeCheckState(
TreeListNode node,
CheckState state
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
A Tree |
state | Check |
A Check |
#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