-
When a specified text box is focused and edited, a hot key can trigger another button click and call the command. Hot key won't work if not focus on the text box. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
timunie
Jun 17, 2024
Replies: 1 comment 1 reply
-
I'd use a KeyBinding on the TextBox instead. See: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xky0007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd use a KeyBinding on the TextBox instead. See:
https://github.com/AvaloniaUI/Avalonia.Samples/blob/d324bcec0d700beabac58b4fb596d0a4478f4b26/src/Avalonia.Samples/CompleteApps/SimpleToDoList/Views/MainWindow.axaml#L64-L66