 | MultiSelectorExtensions Class |
Extensions for multi selectors like ListBox or DataGrid:
- Support binding operations with SelectedItems property.
Inheritance Hierarchy Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static class MultiSelectorExtensions
<ExtensionAttribute>
Public NotInheritable Class MultiSelectorExtensions
The MultiSelectorExtensions type exposes the following members.
Methods
Fields
Attached Properties | Name | Description |
---|
  | SelectionBinding |
Attach this property to a ListBox or DataGrid to bind the selectors SelectedItems property to the view models SelectedItems property.
|
Top
Remarks
SelectionBinding:
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.
See Also