Link to home
Start Free TrialLog in
Avatar of LeighWardle
LeighWardleFlag for Australia

asked on

How to make checkboxes invisible for the Treeview Root nodes

Hi Experts,

Is there a way of making the checkboxes invisible for the Root nodes?

My sample project is attached.

Regards,
Leigh
1.2.zip
Avatar of eemit
eemit
Flag of Germany image

- One approach would be to set Checkboxes Property to False and
to use an ImageList object and images in it to simulate checkboxes checked and unchecked
state in Subnodes.
- Then in TreeView1_NodeClick event toggle Node.Image between checked and unchecked images.
ASKER CERTIFIED SOLUTION
Avatar of eemit
eemit
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LeighWardle

ASKER

Thanks, eemit.

Many, many thanks for providing the sample project.

Regards,
Leigh