Xamarin.Forms.MenuItem Members

The members of Xamarin.Forms.MenuItem are listed below.

See Also: Inherited members from Xamarin.Forms.BaseMenuItem

Public Constructors

Intitializes a new Xamarin.Forms.MenuItem instance.

Public Fields

static readonly
CommandParameterPropertyBindableProperty. Identifies the command parameter bound property.
static readonly
CommandPropertyBindableProperty. Identifies the command bound property.
static readonly
IconPropertyBindableProperty. Identfies the icon bound property.
static readonly
IsDestructivePropertyBindableProperty. Identifies the IsDestructive bound property.
static readonly
TextPropertyBindableProperty. Identifies the text bound property.

Public Properties

CommandSystem.Windows.Input.ICommand. Gets or sets the command that is run when the menu is clicked.
CommandParameterobject. Gets or sets the parameter that is passed to the command.
IconFileImageSource. Gets or sets the icon for the menu item.
IsDestructivebool. Gets or sets a value that indicates whether or not the menu item removes its associated UI element.
Textstring. The text of the menu item.

Protected Methods

OnClicked()
When overriden by an app dev, implements behavior when the menu item is clicked.

Public Events

ClickedEvent that is raised when the menu item is clicked.