Closed luandersonn closed 2 years ago
maybe we can use like:
<Page
xmlns:i="using:Microsoft.Xaml.Interactivity"
xmlns:icore="using:Microsoft.Xaml.Interactions.Core">
<Page.KeyboardAccelerators>
<KeyboardAccelerator Key="T" Modifiers="Control">
<i:Interaction.Behaviors>
<icore:EventTriggerBehavior EventName="Invoked">
<icore:InvokeCommandAction Command="{x:Bind ViewModel.AddNewInstanceAcceleratorCommand}" />
</icore:EventTriggerBehavior>
</i:Interaction.Behaviors>
</KeyboardAccelerator>
</Page.KeyboardAccelerators>
</Page>
And seems like all click events need to go to the ViewModel.
Not implemented yet
oh sorry..
Before you start...
Description
Adding support for keyboard and mouse shortcuts would increase productivity with FluentHub.
Common shortcuts:
Ctrl
+T
Ctrl
+W
Ctrl
+Tab
Ctrl
+Shift
+Tab
Alt
+Left
,Back
(mouse)Alt
+Right
,Forward
(mouse)F5
And more
Alternative solutions
No response
Relevant Assets
No response