Why the SelectedItems
can't be bound from XAML ?!..how can I bind it keeping MVVM pattern applied ?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
SelectedItems
is a read only property it can't be bound to. Although there exist ways around this with attached propertiesSelectedItems
is read-only if you are trying to assign in.If you are trying to read it, MVVM Light has a handy
EventToCommand
to relay theSelectedItems
to yourViewModel