Xamarin.Forms.MenuItem Class
Class that presents a menu item and associates it with a command.

See Also: MenuItem Members

Syntax

public class MenuItem : BaseMenuItem

Remarks

The Xamarin.Forms.MenuItem class has the following XAML properties:

PropertyValue
Command

A binding to a command.

CommandParameter

A parameter to pass to the command.

IsDestructive

true or false, to indicate whether the command deletes an item in a list.

Text

The text to display on the menu item.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0