1 write to _actionList
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (1)
33
_actionList
= new(_designer);
19 references to _actionList
System.Windows.Forms.Design.Tests (19)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (19)
57
_actionList
.Should().NotBeNull();
58
_actionList
.Should().BeOfType<ContextMenuStripActionList>();
60
ToolStripDropDown toolStripDropDownValue = (ToolStripDropDown)
_actionList
.TestAccessor().Dynamic._toolStripDropDown;
68
_actionList
.AutoShow.Should().BeFalse();
70
_actionList
.AutoShow = value;
71
_actionList
.AutoShow.Should().Be(value);
78
_actionList
.ShowImageMargin.Should().BeTrue();
80
_actionList
.ShowImageMargin = value;
81
_actionList
.ShowImageMargin.Should().Be(value);
88
_actionList
.ShowCheckMargin.Should().BeFalse();
90
_actionList
.ShowCheckMargin = value;
91
_actionList
.ShowCheckMargin.Should().Be(value);
100
_actionList
.Invoking(a => a.RenderMode = renderMode)
105
_actionList
.RenderMode = renderMode;
106
_actionList
.RenderMode.Should().Be(renderMode);
113
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();
128
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();
145
_actionList
.TestAccessor().Dynamic._toolStripDropDown = _toolStripDropDown;
147
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();