Skip to main content

TreeDataGridSelectionMode Enum

Definition​

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

Defines the selection mode for a Avalonia.Controls.TreeDataGrid.

public enum TreeDataGridSelectionMode

Inheritance: Enum -> TreeDataGridSelectionMode

Fields​

NameDescription
CellSelect cells.
MultipleAllow selection of multiple rows or cells using the Shift and Ctrl keys.
NoneSelection is not supported.
RowSelect whole rows.

Cell Field​

Select cells.

public Avalonia.Controls.TreeDataGridSelectionMode Cell

Multiple Field​

Allow selection of multiple rows or cells using the Shift and Ctrl keys.

public Avalonia.Controls.TreeDataGridSelectionMode Multiple

None Field​

Selection is not supported.

public Avalonia.Controls.TreeDataGridSelectionMode None

Row Field​

Select whole rows.

public Avalonia.Controls.TreeDataGridSelectionMode Row