Skip to main content

IExpanderColumn<TModel> Interface

Definition

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

Defines a column whose cells show an expander to reveal nested data.

public interface IExpanderColumn<TModel>

Implements: IColumn, IColumn<>, INotifyPropertyChanged

Methods

NameDescription
GetChildModelsGets the child models which represent the nested data for this column.
HasChildrenGets a value indicating whether the column has nested data.
SetModelIsExpandedNo summary available.

GetChildModels Method

Gets the child models which represent the nested data for this column.

public System.Collections.Generic.IEnumerable<TModel> GetChildModels(TModel model)

Parameters

model TModel

The parent model.

Returns

System.Collections.Generic.IEnumerable<TModel>

The child models if available.

HasChildren Method

Gets a value indicating whether the column has nested data.

public bool HasChildren(TModel model)

Parameters

model TModel

The parent model.

Returns

bool

SetModelIsExpanded Method

public void SetModelIsExpanded(Avalonia.Controls.Models.TreeDataGrid.IExpanderRow<TModel><TModel> row)

Parameters

row Avalonia.Controls.Models.TreeDataGrid.IExpanderRow<TModel><TModel>