Context The requirement here is to be able to add dynamic menu items to a MAUI app. The use case chosen here is of selection of a font from a list of fonts installed on the machine. The list of fonts is shows under a menu item in the menu bar.
More on menu bar from the Microsoft documentation
Approach Step 1: Mark up
The component to be used here is the MenuBarItem.