40 references to DrawText
System.Windows.Forms (40)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
663
TextRenderer.
DrawText
(g, Control.Text, Control.Font, r, colors.buttonShadow, formatFlags);
667
TextRenderer.
DrawText
(g, Control.Text, Control.Font, r, colors.highlight, formatFlags);
670
TextRenderer.
DrawText
(g, Control.Text, Control.Font, r, colors.buttonShadow, formatFlags);
674
TextRenderer.
DrawText
(g, Control.Text, Control.Font, r, c, formatFlags);
winforms\Managed\System\WinForms\ButtonRenderer.cs (2)
179
TextRenderer.
DrawText
(g, buttonText, font, contentBounds, textColor, flags);
250
TextRenderer.
DrawText
(g, buttonText, font, contentBounds, textColor, flags);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (2)
165
TextRenderer.
DrawText
(g, checkBoxText, font, textBounds, textColor, flags);
214
TextRenderer.
DrawText
(g, checkBoxText, font, textBounds, textColor, flags);
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
833
TextRenderer.
DrawText
(e.Graphics, text, font, stringBounds, foreColor, flags );
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (1)
140
TextRenderer.
DrawText
(g, comboBoxText, font, textBounds, textColor, flags);
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1964
TextRenderer.
DrawText
(dc, s, font, layoutRectangle, SystemColors.GrayText, format);
1970
TextRenderer.
DrawText
(dc, s, font, layoutRectangle, paintcolor, format);
1973
TextRenderer.
DrawText
(dc, s, font, layoutRectangle, paintcolor, format);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
1038
TextRenderer.
DrawText
(g,
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
991
TextRenderer.
DrawText
(g,
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2616
TextRenderer.
DrawText
(g,
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1105
TextRenderer.
DrawText
(g,
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1011
TextRenderer.
DrawText
(graphics,
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
770
TextRenderer.
DrawText
(graphics,
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
362
TextRenderer.
DrawText
(graphics,
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
215
TextRenderer.
DrawText
(graphics, text, font, newBounds, foreColor, flags);
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
160
TextRenderer.
DrawText
(graphics, item.Text, item.Font, UpdateBounds(bounds, true /*drawText*/), item.ForeColor, flags);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
221
TextRenderer.
DrawText
(graphics, text, font, newBounds, color, flags);
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
150
TextRenderer.
DrawText
(graphics, toolTipText, font, bounds, foreColor, flags);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (2)
182
TextRenderer.
DrawText
(g, groupBoxText, font, textBounds, textColor, flags);
275
TextRenderer.
DrawText
(g, groupBoxText, font, textBounds, textColor, flags);
winforms\Managed\System\WinForms\Label.cs (2)
1561
TextRenderer.
DrawText
(e.Graphics, Text, Font, face, color, flags);
1568
TextRenderer.
DrawText
(e.Graphics, Text, Font, face, disabledTextForeColor, flags);
winforms\Managed\System\WinForms\LinkLabel.cs (2)
1446
TextRenderer.
DrawText
(g, Text, font, clientRectWithPadding, brushColor, CreateTextFormatFlags(clientRectWithPadding.Size));
1499
TextRenderer.
DrawText
(g, Text, font, clientRectWithPadding, color, CreateTextFormatFlags(clientRectWithPadding.Size));
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1941
TextRenderer.
DrawText
( g, strLabel, font, textRect, textColor, PropertyGrid.MeasureTextHelper.GetTextRendererFlags() );
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (2)
152
TextRenderer.
DrawText
(g, radioButtonText, font, textBounds, textColor, flags);
201
TextRenderer.
DrawText
(g, radioButtonText, font, textBounds, textColor, flags);
winforms\Managed\System\WinForms\TabRenderer.cs (2)
114
TextRenderer.
DrawText
(g, tabItemText, font, contentBounds, textColor, flags);
171
TextRenderer.
DrawText
(g, tabItemText, font, contentBounds, textColor, flags);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
121
TextRenderer.
DrawText
(g, textBoxText, font, textBounds, textColor, flags);
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
942
TextRenderer.
DrawText
(textGraphics, text, textFont, new Rectangle(Point.Empty, textSize), textColor, textFormat);
949
TextRenderer.
DrawText
(g, text, textFont, textRect, textColor, textFormat);
winforms\Managed\System\WinForms\TreeView.cs (2)
2845
TextRenderer.
DrawText
(g, e.Node.Text, font, bounds, color, TextFormatFlags.Default);
2856
TextRenderer.
DrawText
(g, e.Node.Text, font, bounds, color, TextFormatFlags.Default);