In a WinForms application, the level of a treeview is given by node.level What is the corresponding command in WPF?
treeview
node.level