8 references to DrawStringDisabled
System.Windows.Forms (3)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
494ControlPaint.DrawStringDisabled(graphics, Text, Font, backColor, textRectangle, format);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1290ControlPaint.DrawStringDisabled(e.GraphicsInternal, Text, Font, color, face, stringFormat);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1125ControlPaint.DrawStringDisabled(g, Text, Font, DisabledColor, ClientRectWithPadding, stringFormat);
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlPaintTests.cs (5)
1919ControlPaint.DrawStringDisabled(graphics, s, font, color, layoutRectangle, format); 1922ControlPaint.DrawStringDisabled(graphics, s, font, color, layoutRectangle, format); 1931ControlPaint.DrawStringDisabled(graphics, s, null, Color.Red, new RectangleF(1, 2, 3, 4), null); 1934ControlPaint.DrawStringDisabled(graphics, s, null, Color.Red, new RectangleF(1, 2, 3, 4), null); 1941Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawStringDisabled(null, s, SystemFonts.MenuFont, Color.Red, new RectangleF(1, 2, 3, 4), new StringFormat()));