The TreeView is a control that presents hierarchical tree data and allows selection of it.
One example for populating a TreeView can be from a directory on the computer. You can create a TreeView in the MainWindow.axaml file in an Avalonia MVVM project.
In the MainWindowViewModel.cs you can add this code which will recursively look up all the subfolders and populate the TreeView from Items and Subfolders