37 references to DrawText
System.Windows.Forms (31)
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (2)
162TextRenderer.DrawText(g, buttonText, font, contentBounds, textColor, flags); 273TextRenderer.DrawText(deviceContext, buttonText, font, contentBounds, textColor, flags);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (2)
147TextRenderer.DrawText(g, checkBoxText, font, textBounds, textColor, flags); 219TextRenderer.DrawText(g, checkBoxText, font, textBounds, textColor, flags);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (2)
147TextRenderer.DrawText(g, radioButtonText, font, textBounds, textColor, flags); 240TextRenderer.DrawText(g, radioButtonText, font, textBounds, textColor, flags);
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (1)
92TextRenderer.DrawText(g, comboBoxText, font, textBounds, textColor, flags);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
992TextRenderer.DrawText(
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
976TextRenderer.DrawText(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2335TextRenderer.DrawText(
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
1027TextRenderer.DrawText(
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
888TextRenderer.DrawText(
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
743TextRenderer.DrawText(graphics,
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
328TextRenderer.DrawText(
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (2)
202TextRenderer.DrawText(deviceContext, groupBoxText, font, textBounds, textColor, flags); 303TextRenderer.DrawText(deviceContext, groupBoxText, font, textBounds, textColor, flags);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1302TextRenderer.DrawText( 1365TextRenderer.DrawText(
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
702TextRenderer.DrawText(e, text, font, stringBounds, foreColor, flags);
System\Windows\Forms\Controls\ListView\DrawListViewColumnHeaderEventArgs.cs (1)
145TextRenderer.DrawText(Graphics, text, Font, newBounds, ForeColor, flags);
System\Windows\Forms\Controls\ListView\DrawListViewItemEventArgs.cs (1)
91TextRenderer.DrawText(Graphics, Item.Text, Item.Font, UpdateBounds(Bounds, drawText: true), Item.ForeColor, flags);
System\Windows\Forms\Controls\ListView\DrawListViewSubItemEventArgs.cs (1)
143TextRenderer.DrawText(Graphics, text, font, newBounds, color, flags);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1608TextRenderer.DrawText(g, label, font, textRect, textColor, PropertyGrid.MeasureTextHelper.GetTextRendererFlags());
System\Windows\Forms\Controls\TabControl\TabRenderer.cs (2)
80TextRenderer.DrawText(g, tabItemText, font, contentBounds, textColor, flags); 131TextRenderer.DrawText(g, tabItemText, font, contentBounds, textColor, flags);
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (1)
84TextRenderer.DrawText(g, textBoxText, font, textBounds, textColor, flags);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
882TextRenderer.DrawText(textGraphics, text, textFont, new Rectangle(Point.Empty, textSize), textColor, textFormat); 888TextRenderer.DrawText(g, text, textFont, textRect, textColor, textFormat);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2848TextRenderer.DrawText(g, node.Text, font, bounds, color, TextFormatFlags.Default); 2855TextRenderer.DrawText(g, node.Text, font, bounds, color, TextFormatFlags.Default);
System\Windows\Forms\ToolTip\DrawToolTipEventArgs.cs (1)
93TextRenderer.DrawText(Graphics, ToolTipText, Font, Bounds, _foreColor, flags);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
233TextRenderer.DrawText(pevent, Text, Font, bounds, SystemColors.ControlText, formatFlags);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1865TextRenderer.DrawText(e.Graphics, Text, Font, rect, ForeColor, formatFlags);
System.Windows.Forms.Tests (4)
System\Windows\Forms\TextRendererTests.cs (4)
258TextRenderer.DrawText(graphics, text, font, rectangle, foreColor, flags); 261TextRenderer.DrawText(graphics, text, font, rectangle, foreColor, flags); 343TextRenderer.DrawText(mockDeviceContext.Object, "text", SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, TextFormatFlags.Default); 766TextRenderer.DrawText(