MenuFlyoutItem adds a text-labeled action to a .NET MAUI desktop menu. Place it inside a MenuBarItem in a page’s MenuBarItems collection, then handle activation with either Clicked or Command. section 10.3.3
Choose the activation approach that fits the page:
- Use Clicked when the action belongs in a code-behind event handler. section 10.3.3
- Use Command when the action belongs in the binding context or view model. section 10.3.3
An About menu command
A ReportPage can define a Help MenuBarItem containing a MenuFlyoutItem whose Text is About and whose Command binds to ShowAboutPageCommand. Selecting it can trigger the view-model action that opens an AboutPage in a new window. section 10.3.3
