I need to create a wpf treeviewlist to look something like this:
AAAA
BBBB
....CCCC
....DDDD
.......EEEE
FFFFF
(where the dots above are indents)
I need to do this from vb.net (2008) code.
I've spent an embarrassingly long amount of time trying to figure this out, and so far all I’ve got is:
vb.net:
Dim tvi1, tvi2 As TreeViewItem
tvi1 = New TreeViewItem
tvi2 = New TreeViewItem
Dim Node1 As Integer
tvi1.Header = "AAAA"
tvi2.Header = "BBBB"
Node1 = TreeView1.Items.Add(tvi1)
Node1 = TreeView1.Items.Add(tvi2)
Any pointers or examples would be greatly appreciated.
Thanks, Rob