CheckedState inconsisten in Treeview using Find Method

Posted by M Murphy on Stack Overflow See other posts from Stack Overflow or by M Murphy
Published on 2010-04-09T13:18:23Z Indexed on 2010/04/09 13:23 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

Hello, I'm using a Treeview control in a .NET 3.5 c# project and I'm noticing inconsistencies in the checked property when I use the find method of the Treeview control.

I'll check some leaves (nodes with no children) and then click a button. Inside the button click I'm using the find method of the treeview control to locate the node and interrogate the value of the checked property. On screen the leaf will be checked but according to the checked property of the node returned from the Find method its not checked.

Has anyone else run into this? Thanks

© Stack Overflow or respective owner

Related posts about winforms

Related posts about treeview