Skip to main content

ITreeDataGridSelection Interface

Definition

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

Base interface for TreeDataGrid selection models that provides common functionality for both row and cell selection.

public interface ITreeDataGridSelection

Remarks

ITreeDataGridSelection serves as a common base interface for various selection models in the TreeDataGrid control, including Avalonia.Controls.Selection.ITreeDataGridRowSelectionModel and Avalonia.Controls.Selection.ITreeDataGridCellSelectionModel.

Properties

NameDescription
SourceGets or sets the data source for the selection model.

Source Property

Gets or sets the data source for the selection model.

public System.Collections.IEnumerable Source { get; set; }