Hello,
There is no such an API to implement Separator
and Keyboard shortcut
in MAUI right now.
You could refer to this issue Menu missing accelerators to get the method about how to map Accelerator Key
to menu items.
For using Separator
, please refer to Include an option to add a menu item separator. Sometimes menu items need to be logically grouped. #5999.
In this issue, you could find Menu Separators have been added for the Net7 milestone(so not yet available). It only affects Platforms which have a concept of a menu separator (Windows: yes, iOS & Android: no, MacCatalyst: yes).
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.