In order to bind something to a control in UWP, you need something. Essentially, what that means is that we need a model.
We're going to create a new class, and we'll call it Item:
public class Item { public string Name { get; set; } public ObservableCollection<Item> Children { get; set; } = new ObservableCollection<Item>(); public ItemType ItemType { get; set; } public string FullName { get; set; } public override string ToString() { return Name; } }
Most ...