Xamarin.Forms.ToolbarItem Class
An item in a toolbar or displayed on a Xamarin.Forms.Page.

See Also: ToolbarItem Members

Syntax

public class ToolbarItem : MenuItem

Remarks

Any changes made to the properties of the toolbar item after it has been added will be ignored.

Note: Windows Phone ApplicationBarButtons and MenuItems always display an associated text. Therefore, when developing for Windows Phone, application devs should provide a value for the ToolbarItem.Text property. Otherwise, the file name of the icon image will be dixplayed as the text of the Xamarin.Forms.ToolbarItem. (For example, the user might see "menu.png" in the user interface.)

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0