# Check a Single Node in TreeView

The TreeView lets the user check a single node at a time based on the value of its `CheckBoxMode` parameter.

This article is separated in the following sections:

* [Basics](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#basics)
* [Examples](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#examples)
  * [Checking a single node using one-way data binding](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#checking-a-single-node-using-one-way-data-binding)
  * [Checking a single node using two-way data binding](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#checking-a-single-node-using-two-way-data-binding)

## Basics

To let the user check only a **single** node in the TreeView, set the `CheckBoxMode` parameter to `Telerik.Blazor.Components.TreeViewCheckBoxMode.Single`.

## Examples

This section contains the following examples:

* [One-way binding](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#checking-a-single-node-using-one-way-data-binding)
* [Two-way binding](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/single#checking-a-single-node-using-two-way-data-binding)

### Checking a single node using one-way data binding

You can use one-way binding to provide an initial checked node, and respond to the `CheckedItemsChanged` to update the view-model when user checks a node.

<demo metaUrl="client/treeview/checkboxes/single/example-1/" height="520"></demo>

### Checking a single node using two-way data binding

You can use two-way binding to get the node the user has checked. This can be useful if the node model already contains all the information you need to use. It also reduces the amount of code you need to write.

<demo metaUrl="client/treeview/checkboxes/single/example-2/" height="520"></demo>

## See Also

* [Selection Overview](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/overview)
* [Multiple Selection](https://www.telerik.com/blazor-ui/documentation/components/treeview/checkboxes/multiple)
