Click or drag to resize

MultiSelectorExtensionsSelectionBinding Attached Property

Attach this property to a ListBox or DataGrid to bind the selectors SelectedItems property to the view models SelectedItems property.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
See GetSelectionBinding, SetSelectionBinding

Property Value

Type: IList
Examples
If your view model has two properties "AnyList Items { get; }" and "IList SelectedItems { get; set; }" your XAML looks like this:

<ListBox ItemsSource="{Binding Path=Items}" core:MultiSelectorExtensions.SelectionBinding="{Binding Path=SelectedItems}"/>
See Also