Hi,
i got a button with a command bound to it and as parameter I´m passing the Gantt´s SelectedItems property
<Button Content="Test Command" Command="{Binding TestCommand}" CommandParameter="{Binding ElementName=gantt,Path=SelectedItems}" >
The issue is, that the passed parameter is always the last element from the selection. It doesn´t matter if I select multiple items with the mouse or Keyboard with pressed Shift or Alt key.#
Any ideas ?
Thanks in advance,
Kamil