Message 1 of 8
dotnet treeview; expanding items via code

Not applicable
05-29-2008
12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
yay another dotnet question!
so I have a treeview set up, I want to expand some of the items via code when the treeview is populated.
i can't set it using .IsExpanded, since that is read-only... and i don't want to use "TheTreeView.ExpandAll()" since that will expand everything, which I do not want to do.
so any ideas?
thanks much!
so I have a treeview set up, I want to expand some of the items via code when the treeview is populated.
i can't set it using .IsExpanded, since that is read-only... and i don't want to use "TheTreeView.ExpandAll()" since that will expand everything, which I do not want to do.
so any ideas?
thanks much!