TreeViewControl class¶
Displays hierarchical data as a simple tree without columns.
Public Members¶
| name | description |
|---|---|
| TreeViewControl() | The default constructor. |
| 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. |
| 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. |
| GetCellDisplayText(…) | Returns the display text of the specified node. |
| GetCellValue(…) | Returns the value of the specified node. |
| SetCellValue(…) | Sets the value of the specified node. |
See Also¶
- class TreeListControlBase
- namespace Eremex.AvaloniaUI.Controls.TreeList