Thursday, February 24, 2011

CheckedItemCollection for Silverlight and WPF CheckBox List or RadioButton List

Here is a simple class for wrapping a list of items so they can be checked from a list.  There are some helper methods like CheckAll, UnCheckAll, and CheckWhere that I've found useful in my projects.

Then when you are done and need to get the checked items you can use the handy CheckedItems property.


No comments:

Post a Comment