29 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.Tests (2)
mono\System.Drawing\GraphicsTests.cs (2)
2092g.DrawString("Test String", _font, Brushes.Black, rect, fmt); 2108g.DrawString("Test String", _font, Brushes.Black, rect, fmt);
System.Windows.Forms (13)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (3)
476g.DrawString(Control.Text, Control.Font, highlightBrush, r, stringFormat); 480g.DrawString(Control.Text, Control.Font, shadowBrush, r, stringFormat); 486g.DrawString(Control.Text, Control.Font, brush, r, stringFormat);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
490graphics.DrawString(Text, Font, textBrush, textRectangle, format);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1286e.GraphicsInternal.DrawString(Text, Font, brush, face, stringFormat);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1294g.DrawString(Text, font, useBrush, ClientRectWithPadding, stringFormat); 1353g.DrawString(Text, Font, foreBrush, ClientRectWithPadding, stringFormat);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
682e.Graphics.DrawString(text, font, brush, stringBounds, format);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1598g.DrawString(label, font, textBrush, textRect, stringFormat);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
611g.DrawString(message, Font, brush, rect, format);
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1954graphics.DrawString(s, font, SystemBrushes.GrayText, layoutRectangle, format); 1960graphics.DrawString(s, font, lightBrush, layoutRectangle, format); 1965graphics.DrawString(s, font, darkBrush, 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(),