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