You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when the PointerWheelChanged is fired I would like to pass its EventArgs via PassEventArgsToCommand="True" (this currently works). However, passing additional CommandParameters on top of that does not work. According to the InvokeCommandAction.cs
the EventArgs are only passed to the command if no CommandParameter is set. However, I would like to pass it on top of that. Is it possible to implement this or send a PullRequest?
The text was updated successfully, but these errors were encountered:
Currently it is not possible to pass EventArguments and CommandParameter into the InvokeCommandAction class.
For example, I would like to implement PointerWheelChanged event to command pass a CommandParameter and EventArguments via the below snippet.
So when the PointerWheelChanged is fired I would like to pass its EventArgs via PassEventArgsToCommand="True" (this currently works). However, passing additional CommandParameters on top of that does not work. According to the InvokeCommandAction.cs
https://github.com/AvaloniaUI/Avalonia.Xaml.Behaviors/blob/d62d2aa68e3943b26b8f33cc120f2e8cc707e038/src/Avalonia.Xaml.Interactions/Core/InvokeCommandAction.cs#L122C5-L159C21
the EventArgs are only passed to the command if no CommandParameter is set. However, I would like to pass it on top of that. Is it possible to implement this or send a PullRequest?
The text was updated successfully, but these errors were encountered: