MultiSelector
MultiSelector is the base class for the DataGrid control. It inherits from the Selector class, which is a primitive that provides selection capabilities for a control, permitting a single selection. As the name suggests, MultiSelector adds the ability for the user to select more than one item from a collection.
We've seen the key functionality of the MultiSelector class in the DataGrid selection article. The class provides methods such as SelectAll and UnselectAll, to quickly select or deselect all of the items in a control. It also includes the SelectedItems property, which allows you to identify all of the objects that are currently selected.
As we've seen the functionality of this class before, and as WPF has no other built-in controls that subclass MultiSelector, this article is included for completeness only.
6 December 2014