Skip to content

flexxxxer/Avalonia.V11.HotKeyedControlBug

Repository files navigation

Avalonia.V11.HotKeyedControlBug

Avalonia v11 sample just not working, Avalonia v0.10.21 just working.

Reason: Avalonia.Controls.HotkeyManager in V11 allows hotkey registration only on controls that implement IClickableControl, but in V0.10 hotkeys registration for controls that implement ICommandSource was allowed. Commit where this feature was removed - here, PR with commit here.

Workaround for Avalonia V11: create hidden buttons with hotkeys and commands/event handlers which will do what you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages