TreeViewControl class
Displays hierarchical data as a simple tree without columns.
Namespace: Eremex.AvaloniaUI.Controls.TreeList
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration
public class TreeViewControl : TreeListControlBase
Constructors
Properties
| name |
description |
| CellTemplate { get; set; } |
Gets or sets the template used to display cell content. |
| CellWidth { get; set; } |
Gets or sets the width of the tree cell. |
| DataFieldName { get; set; } |
Gets or sets the field whose values are displayed as node text. |
| EditorProperties { get; set; } |
Gets or sets the settings of the editor used to edit node values. |
| SortDirection { get; set; } |
Gets or sets the direction in which nodes are sorted. |
| SortMode { get; set; } |
Gets or sets how node values are compared when sorting. |
| UseSvgPalettesForNodeImages { get; set; } |
Gets or sets whether SVG node images are painted using palette colors. |
Methods
Events
| name |
description |
| event CellValueChanged |
Occurs when a node value has been changed. |
| event CellValueChanging |
Occurs while a node value is being changed before it is posted to the data source. |
| event CustomCellDisplayText |
Occurs when the display text of a node is required. |
| event CustomSort |
Occurs when node values are compared with custom logic during data sorting. |
| event HiddenEditor |
Occurs after an in-place editor is closed. |
| event ShowingEditor |
Occurs before an in-place editor is activated. |
| event ShownEditor |
Occurs after an in-place editor is activated. |
| event ValidateCellValue |
Occurs when a node value is validated. |
See Also