Skip to main content

ITreeDataGridCellModel Interface

Definition

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

Represents a cell in an Avalonia.Controls.TreeDataGridSource.

public interface ITreeDataGridCellModel

Properties

NameDescription
CanEditGets a value indicating whether the cell can enter edit mode.
EditGesturesGets the gesture(s) that will cause the cell to enter edit mode.
HorizontalContentAlignmentGets the horizontal alignment of the cell content.
ValueGets the value of the cell.
VerticalContentAlignmentGets the vertical alignment of the cell content.

CanEdit Property

Gets a value indicating whether the cell can enter edit mode.

public bool CanEdit { get; set; }

EditGestures Property

Gets the gesture(s) that will cause the cell to enter edit mode.

public Avalonia.Controls.BeginEditGestures EditGestures { get; set; }

HorizontalContentAlignment Property

Gets the horizontal alignment of the cell content.

public Avalonia.Layout.HorizontalAlignment HorizontalContentAlignment { get; set; }

Value Property

Gets the value of the cell.

public object Value { get; set; }

VerticalContentAlignment Property

Gets the vertical alignment of the cell content.

public Avalonia.Layout.VerticalAlignment VerticalContentAlignment { get; set; }