
After much experimentation, prodding, and poking (and some help from Dr. WPF) I’ve found a great way to put CheckBox controls into TreeViewItems. There are some subtle and irritating issues that I needed to figure out and work around, particularly related to keyboard navigation. However, the deed is done and now you can read all about it here:
http://www.codeproject.com/KB/WPF/TreeViewWithCheckBoxes.aspx
At the end of the article, I point out a bug in the CheckBox control that is specific to the Aero theme.


August 10, 2008 at 9:57 am
nice. btw you are finally in the top 10 on google search for “josh smith”. along with atlanta hawks basketball player
August 10, 2008 at 10:01 am
by the way, did you file the bug in microsoft connect? If so, link it. You can’t hope for MS to fix bugs reported to CodeProject!
August 10, 2008 at 3:51 pm
Thanks for the reminder to log that bug…
https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=361219&SiteID=212
Josh
October 15, 2008 at 5:17 am
Hi,
great control! however what is the best way to get a “kind-of” Click event, i.e. when a check-box status is changed by the user?
sorry if it is too simple, still learning WPF
tnx
s