Base:
property
Enabled
System.Windows.Forms.ToolStripItem.Enabled
12 writes to Enabled
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
505
menuItem.
Enabled
= Enabled;
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\DesignerVerbToolStripMenuItem.cs (1)
27
Enabled
= _verb.Enabled;
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (2)
48
toolItem.
Enabled
= false;
60
toolItem.
Enabled
= false;
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (2)
39
Enabled
= false;
53
Enabled
= _menuCommand.Enabled;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
186
_contextMenuRow.
Enabled
= onValidCell;
187
_contextMenuCol.
Enabled
= onValidCell;
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
380
toolItem.
Enabled
= false;
413
toolItem.
Enabled
= false;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
285
Enabled
= false,
WinFormsControlsTest (1)
MenuStripAndCheckedListBox.Designer.cs (1)
103
this.openToolStripMenuItem1.
Enabled
= false;
10 references to Enabled
System.Windows.Forms (7)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (1)
168
if (CurrentItem is not null && !CurrentItem.IsDisposed && CurrentItem.Selected && CurrentItem.
Enabled
&& ToolStripManager.ModalMenuFilter.InMenuMode)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (4)
505
menuItem.Enabled =
Enabled
;
749
if (!
Enabled
|| ParentInternal is null || !ParentInternal.MenuAutoExpand || !HasDropDownItems)
1011
arrowColor = (
Enabled
) ? arrowColor : SystemColors.ControlDark;
1037
if (
Enabled
&& ShortcutKeys == keyData && !HasDropDownItems)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemAccessibleObject.cs (1)
27
if (_owningToolStripMenuItem.
Enabled
)
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
456
if (item.
Enabled
)
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
53
Assert.True(item.
Enabled
);
330
clone.
Enabled
.Should().Be(original.
Enabled
);