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