Closed Deinonychus71 closed 2 years ago
Hello, I'm having an issue with an event of type CellPointerPressed here:
<DataGrid SelectedItem="{Binding SelectedBgmEntry, Mode=TwoWay}" Items="{Binding Items, Mode=OneWay}"> <i:Interaction.Behaviors> <ia:EventTriggerBehavior EventName="CellPointerPressed"> <ia:InvokeCommandAction Command="{Binding ActionReorderBgm}"/> </ia:EventTriggerBehavior> </i:Interaction.Behaviors> [...] </DataGrid>
which always invoke a null DataGridCellPointerPressedEventArgs
ActionReorderBgm = ReactiveCommand.Create<DataGridCellPointerPressedEventArgs>(ReorderBgm);
Here 'e' is always null:
public async void ReorderBgm(DataGridCellPointerPressedEventArgs e) { if (e == null || e.Column.DisplayIndex != 0) return; }
This same code works fine in version 0.10.11-rc.1, it only started since 0.10.11.
Was there a breaking change of some sort in between? Thanks!
Set PassEventArgsToCommand="True" on InvokeCommandAction
Hello, I'm having an issue with an event of type CellPointerPressed here:
which always invoke a null DataGridCellPointerPressedEventArgs
Here 'e' is always null:
This same code works fine in version 0.10.11-rc.1, it only started since 0.10.11.
Was there a breaking change of some sort in between? Thanks!