TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
William Thompson
1.6k
155
298.6k
How do you insert a child node in a TreeView Control in WPF C#?
May 15 2010 12:09 AM
How do you insert a child node in a TreeView Control in WPF C#?
I have a TreeView control that I have created in XAML in a WPF program using C#.
After adding a couple nodes at the root level, I have written code that loops through the tree structure like so:
ItemCollection items = treeView1.Items;
foreach (TreeViewItem n in items)
{
...
}
Once I find the place in this loop where I want to include a child node, how do I go about inserting a child?
Reply
Answers (
1
)
converting c++ codes to c#
serial Port not working properly - VS2005 on Windows 7