Extensions for multi selectors like ListBox or DataGrid:
- Support binding operations with SelectedItems property.
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 126.96.36.199 (188.8.131.52)
public static class MultiSelectorExtensions
Public NotInheritable Class MultiSelectorExtensions
The MultiSelectorExtensions type exposes the following members.
Methods Fields Attached Properties
Attach this property to a ListBox or DataGrid to bind the selectors SelectedItems property to the view models SelectedItems property.
Since there is no common interface for ListBox and DataGrid, the SelectionBinding is implemented via reflection/dynamics, so it will
work on any FrameworkElement that has the SelectedItems, SelectedItem and SelectedItemIndex properties and the SelectionChanged event.