how to access all items and subitems of treeview in wpf c#
i have a treeview like this
i want to access all items and sub items of treeview1 and put them into list how to do this?