Category / Section
How to pass the menu shortcut keys from Floating Form to HostForm in WinForms DockingManager?
1 min read
Show the shortcut keys
The DockingManager.ForwardMenuShortCut property get or set a value indicating whether the HostForm is capable of listening the Keyboard Event, when the Docked control in Floating State. The Default value of ForwardMenuShortCut is true.
C#
// True, Enable the Hostform to Listen the keyboard event, when the docked window in Floating State. this.dockingManager1.ForwardMenuShortcuts=true;
VB
'True, Enable the Hostform to Listen the keyboard event, when the docked window in Floating State. Me.DockingManager1.ForwardMenuShortcuts=True
Note:
This works only with Syncfusion XPMenus framework. We could not pass the Menushortcut keys to Windows menus.
UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/floating-window#listen-to-keyboard-events