IColumn<TModel> Interface
Definition
Represents a column in an Avalonia.Controls.ITreeDataGridSource which selects cell values from a model.
public interface IColumn<TModel>
Methods
| Name | Description |
|---|---|
| CreateCell | No summary available. |
| GetComparison | Gets a comparison function for the column. |
CreateCell Method
public Avalonia.Controls.Models.TreeDataGrid.ICell CreateCell(Avalonia.Controls.Models.TreeDataGrid.IRow<TModel><TModel> row)
Parameters
row Avalonia.Controls.Models.TreeDataGrid.IRow<TModel><TModel>
Returns
GetComparison Method
Gets a comparison function for the column.
public Comparison<TModel> GetComparison(System.ComponentModel.ListSortDirection direction)
Parameters
direction System.ComponentModel.ListSortDirection
The sort direction.
Returns
Comparison<TModel>
The comparison function or null if sorting cannot be performed on the column.