Base:
property
Enabled
System.Windows.Forms.ToolStripItem.Enabled
21 writes to Enabled
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
843
UpScrollButton.
Enabled
= !displayRectangle.Contains(displayRectangle.X, minY);
844
DownScrollButton.
Enabled
= !displayRectangle.Contains(displayRectangle.X, maxY);
System.Windows.Forms.Tests (19)
System\Windows\Forms\ToolStripControlHostTests.cs (19)
869
Enabled
= value
876
item.
Enabled
= value;
882
item.
Enabled
= !value;
903
item.
Enabled
= false;
908
item.
Enabled
= false;
913
item.
Enabled
= true;
919
item.
Enabled
= false;
930
Assert.Throws<ObjectDisposedException>(() => item.
Enabled
= false);
1390
Enabled
= enabled,
1458
Enabled
= enabled,
2409
Enabled
= enabled,
3060
Enabled
= enabled,
3079
Enabled
= enabled,
3103
Enabled
= enabled,
3176
Enabled
= enabled,
3247
Enabled
= enabled,
3268
Enabled
= enabled,
4359
Enabled
= enabled
4458
Enabled
= enabled,
10 references to Enabled
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripControlHostTests.cs (10)
81
Assert.Equal(c.Enabled, item.
Enabled
);
600
Assert.False(item.
Enabled
);
605
Assert.True(item.
Enabled
);
845
Assert.Throws<ObjectDisposedException>(() => item.
Enabled
);
871
Assert.Equal(value, item.
Enabled
);
877
Assert.Equal(value, item.
Enabled
);
883
Assert.Equal(!value, item.
Enabled
);
904
Assert.False(item.
Enabled
);
909
Assert.False(item.
Enabled
);
914
Assert.True(item.
Enabled
);