No idea if it's any different under WPF, but the "old fashioned" way to
do this would be to set the Expanded property on each TreeNode as you
add it to the TreeView.
AFAIS the WPF 'TreeView' class does not have an 'ExpandAll' method. Thus
you'd have to loop through the nodes and set their 'IsExpanded' properties
to 'True'.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.