12 references to ToolbarItemOrder
Microsoft.Maui.Controls (11)
Toolbar\ToolbarItem.cs (11)
9
static readonly BindableProperty OrderProperty = BindableProperty.Create(nameof(Order), typeof(
ToolbarItemOrder
), typeof(ToolbarItem),
ToolbarItemOrder
.Default, validateValue: (bo, o) =>
11
var
order = (
ToolbarItemOrder
)o;
12
return order ==
ToolbarItemOrder
.Default || order ==
ToolbarItemOrder
.Primary || order ==
ToolbarItemOrder
.Secondary;
23
public ToolbarItem(string name, string icon, Action activated,
ToolbarItemOrder
order =
ToolbarItemOrder
.Default, int priority = 0)
36
public
ToolbarItemOrder
Order
38
get { return (
ToolbarItemOrder
)GetValue(OrderProperty); }
Microsoft.Maui.Controls.Compatibility (1)
iOS\Renderers\NavigationRenderer.cs (1)
1417
if (item.Order ==
ToolbarItemOrder
.Secondary)