I have a list of TransactionTypes
and I want each of these to be added as Nodes
/ TreeViewItems
on a TreeView, under another TreeViewItem
called 'Audit'
.
Is there a way to convert each individual item in the list into a new TreeViewItem
in a TreeView? And if so, how can it be done most efficiently?
Thanks.
EDIT:
We are using a WPF application and therefore can't use .Nodes / TreeNodes.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…