Skip to main content

ITreeDataGridRowModel Interface

Definition​

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

Represents a row in an Avalonia.Controls.TreeDataGridSource.

public interface ITreeDataGridRowModel

Properties​

NameDescription
HeaderGets the row header.
HeightGets the height of the row.
ModelGets the row model.
ModelIndexGets the index of the model in its parent data source.
ModelIndexPathGets the index of the model from the root data source.

Header Property​

Gets the row header.

public object Header { get; set; }

Height Property​

Gets the height of the row.

public Avalonia.Controls.GridLength Height { get; set; }

Model Property​

Gets the row model.

public object Model { get; set; }

ModelIndex Property​

Gets the index of the model in its parent data source.

public int ModelIndex { get; set; }

ModelIndexPath Property​

Gets the index of the model from the root data source.

public Avalonia.Controls.IndexPath ModelIndexPath { get; set; }