34 references to MenuGlyph
System.Windows.Forms (4)
System\Windows\Forms\Rendering\ControlPaint.cs (4)
1701
public static void DrawMenuGlyph(Graphics graphics, Rectangle rectangle,
MenuGlyph
glyph)
1711
MenuGlyph
glyph,
1723
public static void DrawMenuGlyph(Graphics graphics, int x, int y, int width, int height,
MenuGlyph
glyph)
1733
MenuGlyph
glyph,
System.Windows.Forms.Tests (30)
System\Windows\Forms\ControlPaintTests.cs (30)
1387
foreach (
MenuGlyph
glyph in Enum.GetValues(typeof(
MenuGlyph
)))
1398
public void ControlPaint_DrawMenuGlyph_InvokeGraphicsRectangleMenuGlyph_Success(Rectangle rectangle,
MenuGlyph
glyph)
1410
foreach (
MenuGlyph
glyph in Enum.GetValues(typeof(
MenuGlyph
)))
1430
public void ControlPaint_DrawMenuGlyph_InvokeGraphicsRectangleMenuGlyphColorColor_Success(Rectangle rectangle,
MenuGlyph
glyph, Color foreColor, Color backColor)
1442
public void ControlPaint_DrawMenuGlyph_InvokeGraphicsIntIntIntIntMenuGlyph_Success(Rectangle rectangle,
MenuGlyph
glyph)
1454
public void ControlPaint_DrawMenuGlyph_InvokeGraphicsIntIntIntIntMenuGlyphColorColor_Success(Rectangle rectangle,
MenuGlyph
glyph, Color foreColor, Color backColor)
1465
[InlineData(
MenuGlyph
.Arrow)]
1466
[InlineData(
MenuGlyph
.Bullet)]
1467
[InlineData(
MenuGlyph
.Checkmark)]
1468
public void ControlPaint_DrawMenuGlyph_NullGraphics_ThrowsArgumentNullException(
MenuGlyph
glyph)
1475
[InlineData(0, 4,
MenuGlyph
.Arrow)]
1476
[InlineData(0, 4,
MenuGlyph
.Bullet)]
1477
[InlineData(0, 4,
MenuGlyph
.Checkmark)]
1478
[InlineData(3, 0,
MenuGlyph
.Arrow)]
1479
[InlineData(3, 0,
MenuGlyph
.Bullet)]
1480
[InlineData(3, 0,
MenuGlyph
.Checkmark)]
1481
[InlineData(0, 0,
MenuGlyph
.Arrow)]
1482
[InlineData(0, 0,
MenuGlyph
.Bullet)]
1483
[InlineData(0, 0,
MenuGlyph
.Checkmark)]
1484
public void ControlPaint_DrawMenuGlyph_EmptyRectangle_ThrowsArgumentException(int width, int height,
MenuGlyph
glyph)
1493
[InlineData(
MenuGlyph
.Arrow)]
1494
[InlineData(
MenuGlyph
.Bullet)]
1495
[InlineData(
MenuGlyph
.Checkmark)]
1496
public void ControlPaint_DrawMenuGlyph_NegativeWidth_ThrowsArgumentOutOfRangeException(
MenuGlyph
glyph)
1505
[InlineData(
MenuGlyph
.Min)]
1506
[InlineData(
MenuGlyph
.Bullet)]
1507
[InlineData(
MenuGlyph
.Checkmark)]
1508
public void ControlPaint_DrawMenuGlyph_NegativeHeight_ThrowsArgumentOutOfRangeException(
MenuGlyph
glyph)