19 instantiations of SubToolStripItem
System.Windows.Forms.Tests (19)
System\Windows\Forms\ToolStripRendererTests.cs (19)
31
yield return new object[] { new
SubToolStripItem
(), new Rectangle(1, 2, 3, 4), Color.Red, arrowDirection };
36
yield return new object[] { new
SubToolStripItem
(), new Rectangle(1, 2, 3, 4), Color.Red, ArrowDirection.Left - 1 };
37
yield return new object[] { new
SubToolStripItem
(), new Rectangle(1, 2, 3, 4), Color.Red, ArrowDirection.Up + 1 };
81
yield return new object[] { new ToolStripItemRenderEventArgs(graphics, new
SubToolStripItem
()) };
193
yield return new object[] { graphics, new
SubToolStripItem
(), new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) };
194
yield return new object[] { graphics, new
SubToolStripItem
{ Enabled = false }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) };
198
yield return new object[] { graphics, new
SubToolStripItem
{ ImageScaling = imageScaling }, new Bitmap(10, 10), new Rectangle(1, 2, 3, 4) };
294
yield return new object[] { new
SubToolStripItem
(), null, Rectangle.Empty, Color.Empty, null, TextFormatFlags.Left };
295
yield return new object[] { new
SubToolStripItem
(), null, new Rectangle(1, 2, 0, 4), Color.Empty, null, TextFormatFlags.Left };
296
yield return new object[] { new
SubToolStripItem
(), null, new Rectangle(1, 2, 3, 0), Color.Empty, null, TextFormatFlags.Left };
297
yield return new object[] { new
SubToolStripItem
(), null, new Rectangle(1, 2, 3, 4), Color.Empty, null, TextFormatFlags.Left };
299
yield return new object[] { new
SubToolStripItem
(), "Text", Rectangle.Empty, Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
300
yield return new object[] { new
SubToolStripItem
(), "Text", new Rectangle(1, 2, 0, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
301
yield return new object[] { new
SubToolStripItem
(), "Text", new Rectangle(1, 2, 3, 0), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
302
yield return new object[] { new
SubToolStripItem
(), "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
303
yield return new object[] { new
SubToolStripItem
() { Enabled = false }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
304
yield return new object[] { new
SubToolStripItem
() { TextDirection = ToolStripTextDirection.Vertical270 }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
305
yield return new object[] { new
SubToolStripItem
() { TextDirection = ToolStripTextDirection.Vertical90 }, "Text", new Rectangle(1, 2, 3, 4), Color.Red, SystemFonts.MenuFont, TextFormatFlags.Left };
695
yield return new object[] { new
SubToolStripItem
() };