We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Overview

The WPF TreeGrid control provides support to select rows and use keyboard navigation. Users can display checkboxes in tree nodes and use recursive checking and selection synchronization.


Row selection

Users can select rows with extensive support for keyboard navigation. The following ways are available to select items:

  • Single-row selection
  • Multiple-row selection
  • Extended multiple-row selection

row selection in WPF treegrid


Checkbox node selection

node checkbox selection in WPF treegrid

Node selection

Select rows or nodes using an intuitive checkboxes in a row. WPF TreeGrid provides different modes of checkbox selection. It’s also possible to show an indeterminate state in a checkbox.

WPF treegrid shows tristate checkbox mode

Tristate checkbox

Users can make the checkboxes with an indeterminate state (tri-state).

WPF treegrid shows recursive checkbox selection

Recursive checking

Select all the child nodes by clicking a parent node checkbox recursively. Also, synchronize the selection with the checkbox click.

WPF treegrid shows conditional checkbox

Conditional checkbox

Users can enable or disable a checkbox, and customize its appearance, based on conditions.


Selection style

Users can customize the appearance of a row or cell selection:

  • Text color
  • Background color
  • Selection border

selection style in WPF treegrid


Navigate based on a row or cell. Row-based keyboard navigation allows users to navigate only between rows like in list box selection.

WPF treegrid navigation mode


Disable selection or navigation for columns

Disable the selection or navigation on a particular column easily to make read-only columns for just displaying the data alone.


Keyboard interaction

Navigate rows or cells to select rows. Keyboard navigation is similar to that in Excel, including shift key combinations.


95+ WPF CONTROLS

Scroll up icon