I need to create a treeview that some nodes in the tree will have checkbox and other nodes will have a disable checkbox - that looks开发者_Go百科 gray as disable. once the user check the disable check box the check box image will be changed to a different image (-checked but still grey). this treeview will have also icon , besides the check box. (I'm using the winform treeview control)
thanks in advance,
You can set the ShowCheckBox property of the node to False, and the ImageUrl to a picture of a disabled checkbox. It sounds like you might be using the ImageUrl for something else, though, so you might need to create your icons for these nodes so that they show your icon and also a disabled checkbox.
精彩评论