7 instantiations of ToolStripItemTextRenderEventArgs
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
263
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(e.Graphics, this, this.Text, InternalLayout.TextRectangle, this.ForeColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
176
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, this.Text, InternalLayout.TextRectangle, this.ForeColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
336
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, this.Text, textRect, textColor, font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
1100
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, this.Text, InternalLayout.TextRectangle, textColor, this.Font, (rightToLeft) ? ContentAlignment.MiddleRight : ContentAlignment.MiddleLeft));
1107
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, GetShortcutText(), InternalLayout.TextRectangle, textColor, this.Font, (rightToLeft) ? ContentAlignment.MiddleLeft : ContentAlignment.MiddleRight));
1129
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, this.Text, InternalLayout.TextRectangle, textColor, this.Font, InternalLayout.TextFormat));
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
616
renderer.DrawItemText(new
ToolStripItemTextRenderEventArgs
(g, this, SplitButtonButton.Text, SplitButtonButtonLayout.TextRectangle, this.ForeColor, this.Font, SplitButtonButtonLayout.TextFormat));
5 references to ToolStripItemTextRenderEventArgs
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
194
protected override void OnRenderItemText(
ToolStripItemTextRenderEventArgs
e) {
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventHandler.cs (1)
17
public delegate void ToolStripItemTextRenderEventHandler(object sender,
ToolStripItemTextRenderEventArgs
e);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
622
protected override void OnRenderItemText(
ToolStripItemTextRenderEventArgs
e) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
563
public void DrawItemText(
ToolStripItemTextRenderEventArgs
e) {
918
protected virtual void OnRenderItemText(
ToolStripItemTextRenderEventArgs
e) {