Just write a recursive method to select each child node down the tree and expand it. Then, when done, re-select the root node that the user selected. However, with that being said, you're going to have a control that will function differently than other Windows applications. I would recommend adding this functionality to a context menu so that the user can do it through the right-click functionality rather than on a simple single-click.
...Glenn On Fri, Jan 16, 2009 at 10:26 AM, R Tanner <[email protected]> wrote: > > Hi, > > I have a treeview control with about 30 different child members and > some of those child members have their own child members. I would > like to make it so that when the user selects a root member, all of > it's child members are selected. How could I do that? > > I'm new to C# by the way...
