Implemented interface members:
property
IsEnabled
Microsoft.Maui.Controls.IMenuItemController.IsEnabled
property
IsEnabled
Microsoft.Maui.IMenuElement.IsEnabled
1 write to IsEnabled
Microsoft.Maui.Controls (1)
Shell\MenuShellItem.cs (1)
50
bool IMenuItemController.IsEnabled { get => MenuItem.IsEnabled; set => MenuItem.
IsEnabled
= value; }
8 references to IsEnabled
Microsoft.Maui.Controls (8)
Compatibility\Handlers\ListView\iOS\ContextActionCell.cs (1)
389
button.Enabled = item.
IsEnabled
;
Compatibility\iOS\Extensions\ToolbarItemExtensions.cs (2)
122
Enabled = item.
IsEnabled
;
207
((UIControl)CustomView).Enabled = item.
IsEnabled
;
Menu\MenuItem.cs (4)
40
/// <summary>Bindable property for <see cref="
IsEnabled
"/>.</summary>
42
nameof(
IsEnabled
), typeof(bool), typeof(MenuItem), true,
110
if (
IsEnabled
)
142
if (menuItem.Parent is MenuItem parentMenuItem && !parentMenuItem.
IsEnabled
)
Shell\MenuShellItem.cs (1)
50
bool IMenuItemController.IsEnabled { get => MenuItem.
IsEnabled
; set => MenuItem.IsEnabled = value; }