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
{{ message }}
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
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:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: