Skip to main content

TreeDataGridRowSelectionModel<TModel> Class

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid

Implements row selection functionality for a Avalonia.Controls.TreeDataGrid control.

public class TreeDataGridRowSelectionModel<TModel>

Inheritance: TreeSelectionModelBase<> -> TreeDataGridRowSelectionModel<TModel>

Implements: ITreeDataGridRowSelectionModel, ITreeDataGridRowSelectionModel<>, ITreeDataGridSelection, ITreeDataGridSelectionInteraction, ITreeSelectionModel, INotifyPropertyChanged

Remarks

TreeDataGridRowSelectionModel manages row selection in a TreeDataGrid, supporting both single and multiple selection modes.

Row selection supports the following user interactions:

  • Clicking on rows to select them
  • Using arrow keys to navigate between rows
  • Using Shift key to select ranges of rows
  • Expanding and collapsing hierarchical rows with arrow keys
  • Type-to-select functionality for quickly finding rows

Constructors

NameDescription
TreeDataGridRowSelectionModel<TModel>No summary available.

TreeDataGridRowSelectionModel<TModel> Constructor

public TreeDataGridRowSelectionModel<TModel>(Avalonia.Controls.ITreeDataGridSource<TModel><TModel> source)

Parameters

source Avalonia.Controls.ITreeDataGridSource<TModel><TModel>