2 overrides of TextRectangle
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1533
public override Rectangle
TextRectangle
{
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
776
public override Rectangle
TextRectangle
{
9 references to TextRectangle
System.Windows.Forms (9)
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)
335
Rectangle textRect = InternalLayout.
TextRectangle
;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (4)
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));
1541
return base.
TextRectangle
;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
616
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, SplitButtonButton.Text, SplitButtonButtonLayout.
TextRectangle
, this.ForeColor, this.Font, SplitButtonButtonLayout.TextFormat));
778
Rectangle textRect = base.
TextRectangle
;