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