2 implementations of IMenuItemController
Microsoft.Maui.Controls (2)
Menu\MenuItem.cs (1)
12
public partial class MenuItem : BaseMenuItem,
IMenuItemController
, ICommandElement, IMenuElement, IPropertyPropagationController
Shell\MenuShellItem.cs (1)
10
internal class MenuShellItem : ShellItem,
IMenuItemController
, IStyleSelectable
15 references to IMenuItemController
Microsoft.Maui.Controls (15)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (2)
334
((
IMenuItemController
)mi).Activate();
430
((
IMenuItemController
)_cell.ContextActions[(int)button.Tag]).Activate();
Compatibility\Handlers\Shell\iOS\ShellTableViewSource.cs (1)
150
if (context is
IMenuItemController
)
Compatibility\iOS\Extensions\ToolbarItemExtensions.cs (2)
58
((
IMenuItemController
)item).Activate();
160
((
IMenuItemController
)item).Activate();
Menu\MenuItem.cs (2)
108
void
IMenuItemController
.Activate()
162
((
IMenuItemController
)this).Activate();
Shell\MenuShellItem.cs (3)
50
bool
IMenuItemController
.IsEnabled { get => MenuItem.IsEnabled; set => MenuItem.IsEnabled = value; }
52
void
IMenuItemController
.Activate()
54
(MenuItem as
IMenuItemController
).Activate();
Shell\Shell.cs (4)
636
if (bo is
IMenuItemController
)
649
BindableProperty bp = bo is
IMenuItemController
? MenuItemTemplateProperty : ItemTemplateProperty;
812
((
IMenuItemController
)menuShellItem.MenuItem).Activate();
827
((
IMenuItemController
)m).Activate();
Shell\ShellElementCollection.cs (1)
216
item is
IMenuItemController
;