Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146074 | Jul 18,2019 05:05 PM UTC | Aug 2,2019 10:29 AM UTC | UWP | 2 |
![]() |
Tags: SfMenu |
# MainPage.xaml
<menu:SfMenu x:Name="menu" HorizontalAlignment="Left"VerticalAlignment="Top">
<menu:SfMenuItem x:Name="file" Header="File" AccessKey="F" >
<menu:SfMenuItem Header="New" InputGestureText="Ctrl + N" >
<menu:SfMenuItem.KeyboardAccelerators>
<KeyboardAccelerator Key="N" Modifiers="Control"Invoked="KeyboardAccelerator_Invoked"/>
</menu:SfMenuItem.KeyboardAccelerators>
</menu:SfMenuItem>
</menu:SfMenu>
# MainPage.xaml.cs private void KeyboardAccelerator_Invoked(KeyboardAccelerator sender, KeyboardAcceleratorInvokedEventArgs args) {
var dialog = new MessageDialog("New item clicked");
dialog.ShowAsync();
} |
Recommended approach – exe will perform automatic configuration
Please find the patch setup here:
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from:
Please find the Nugets from the below location:
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.