Xamarin.Forms by Xamarin Inc.

<PackageReference Include="Xamarin.Forms" Version="2.2.0.23-pre4" />

.NET API 873,984 bytes

 ToolbarItem

public class ToolbarItem : MenuItem
An item in a toolbar or displayed on a Page.
public string Name { get; set; }

Gets or sets the name of the ToolbarItem.

public ToolbarItemOrder Order { get; set; }

Gets or sets a value that indicates on which of on the primary, secondary, or default toolbar surfaces to display this ToolbarItem element.

public int Priority { get; set; }

Gets or sets the priority of this ToolbarItem element.

public event EventHandler Activated

Raised when the ToolbarItem is touched or clicked.

public ToolbarItem()

public ToolbarItem(string name, string icon, Action activated, ToolbarItemOrder order = 0, int priority = 0)