1 write to _actionList
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (1)
31
_actionList
= new(_designer);
19 references to _actionList
System.Windows.Forms.Design.Tests (19)
System\Windows\Forms\Design\ContextMenuStripActionListTests.cs (19)
55
_actionList
.Should().NotBeNull();
56
_actionList
.Should().BeOfType<ContextMenuStripActionList>();
58
ToolStripDropDown toolStripDropDownValue = (ToolStripDropDown)
_actionList
.TestAccessor().Dynamic._toolStripDropDown;
66
_actionList
.AutoShow.Should().BeFalse();
68
_actionList
.AutoShow = value;
69
_actionList
.AutoShow.Should().Be(value);
76
_actionList
.ShowImageMargin.Should().BeTrue();
78
_actionList
.ShowImageMargin = value;
79
_actionList
.ShowImageMargin.Should().Be(value);
86
_actionList
.ShowCheckMargin.Should().BeFalse();
88
_actionList
.ShowCheckMargin = value;
89
_actionList
.ShowCheckMargin.Should().Be(value);
98
_actionList
.Invoking(a => a.RenderMode = renderMode)
103
_actionList
.RenderMode = renderMode;
104
_actionList
.RenderMode.Should().Be(renderMode);
111
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();
126
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();
143
_actionList
.TestAccessor().Dynamic._toolStripDropDown = _toolStripDropDown;
145
var items =
_actionList
.GetSortedActionItems().Cast<DesignerActionPropertyItem>().ToList();