Advertisement

02.01.2008 at 10:19AM PST, ID: 23130379
[x]
Attachment Details

How to: unselect a TreeNode (Window Forms and VS2008)?

Asked by TALJr in Visual Studio, .Net Editors & IDEs

I don't see a way to unselect a node in a TreeView object programmatically.  I am using VS2008 and C#.

What is strange is that the VS2008 MSDN docs state that you just use TreeNode.Selected method to.
It says "Gets or sets a value that indicates whether the node is selected.

However, there is no Selected method for TreeNode when using VS2008.

Anybody have a workaround or correction?

Thanks,
TedStart Free Trial
[+][-]02.03.2008 at 01:42PM PST, ID: 20810430

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio, .Net Editors & IDEs
Sign Up Now!
Solution Provided By: sjturner2
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628