15 references to ToolStrip
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (6)
145
if (e.
ToolStrip
is not null)
147
ScaleObjectSizesIfNeeded(e.
ToolStrip
.DeviceDpi);
163
bool horizontal = e.
ToolStrip
is not null && e.
ToolStrip
.Orientation == Orientation.Horizontal;
1221
bool horizontal = e.
ToolStrip
is not null && e.
ToolStrip
.Orientation == Orientation.Horizontal;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ToolStripButtonTests.cs (6)
1292
Assert.Null(e.
ToolStrip
);
1301
Assert.Null(e.
ToolStrip
);
1314
Assert.Null(e.
ToolStrip
);
1383
Assert.Null(e.
ToolStrip
);
1392
Assert.Null(e.
ToolStrip
);
1405
Assert.Null(e.
ToolStrip
);
System\Windows\Forms\ToolStripItemRenderEventArgsTests.cs (1)
48
Assert.Equal(expectedToolStrip, e.
ToolStrip
);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
1238
Assert.Same(parent, e.
ToolStrip
);
1309
Assert.Same(parent, e.
ToolStrip
);