25 references to DrawString
PresentationUI (5)
MS\Internal\Documents\SignatureSummaryDialog.cs (5)
728graphics.DrawString(item._subjectName, 735graphics.DrawString(item._signBy, 742graphics.DrawString(item._location, 751graphics.DrawString(item._summaryMessage, 767graphics.DrawString(item._reason,
System.Drawing.Common (7)
System\Drawing\Graphics.cs (7)
1588DrawString(s, font, brush, new RectangleF(x, y, 0, 0), null); 1608DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), null); 1633DrawString(s, font, brush, new RectangleF(x, y, 0, 0), format); 1657DrawString(s, font, brush, new RectangleF(point.X, point.Y, 0, 0), format); 1681/// <see cref="DrawString(string?, Font, Brush, RectangleF, StringFormat?)"/> overload that takes 1686DrawString(s, font, brush, layoutRectangle, null); 1729/// <inheritdoc cref="DrawString(string?, Font, Brush, RectangleF, StringFormat?)"/>
System.Drawing.Common.Tests (2)
mono\System.Drawing\GraphicsTests.cs (2)
2093g.DrawString("Test String", _font, Brushes.Black, rect, fmt); 2109g.DrawString("Test String", _font, Brushes.Black, rect, fmt);
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1353g.DrawString(Text, Font, foreBrush, ClientRectWithPadding, stringFormat);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1954graphics.DrawString(s, font, SystemBrushes.GrayText, layoutRectangle, format);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
608g.DrawString(e.Index.ToString(CultureInfo.CurrentCulture), Font, SystemBrushes.ControlText,
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
413g.DrawString(
System\Drawing\Design\FontNameEditor.cs (1)
79e.Graphics.DrawString("abcd", font, SystemBrushes.ActiveCaptionText, e.Bounds, format);
System\Windows\Forms\Design\ComponentTray.cs (1)
2295e.Graphics.DrawString(Text, Font, foreBrush, rc, format);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2307e.Graphics.DrawString(exceptionText, errorFont, new SolidBrush(Control.ForeColor), textRect, stringFormat);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
896e.Graphics.DrawString(className, boldFont, SystemBrushes.WindowText, bounds, stringFormat); 915e.Graphics.DrawString(SR.ToolStripItemCollectionEditorLabelNone, boldFont, SystemBrushes.WindowText, bounds, stringFormat); 922e.Graphics.DrawString(SR.ToolStripItemCollectionEditorLabelMultipleItems, boldFont, SystemBrushes.WindowText, bounds, stringFormat);
WinFormsControlsTest (1)
ListBoxes.cs (1)
49e.Graphics.DrawString(listBox.Items[e.Index].ToString(),