2 overrides of TextRectangle
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemInternalLayout.cs (1)
139
public override Rectangle
TextRectangle
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButtonLayout.cs (1)
49
public override Rectangle
TextRectangle
9 references to TextRectangle
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
221
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(e.Graphics, this, Text, InternalLayout.
TextRectangle
, ForeColor, Font, InternalLayout.TextFormat));
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownButton.cs (1)
193
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, Text, InternalLayout.
TextRectangle
, ForeColor, Font, InternalLayout.TextFormat));
System\Windows\Forms\Controls\ToolStrips\ToolStripLabel.cs (1)
378
Rectangle textRect = InternalLayout.
TextRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
994
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, Text, InternalLayout.
TextRectangle
, textColor, Font, (rightToLeft) ? ContentAlignment.MiddleRight : ContentAlignment.MiddleLeft));
1003
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, GetShortcutText(), InternalLayout.
TextRectangle
, textColor, Font, (rightToLeft) ? ContentAlignment.MiddleLeft : ContentAlignment.MiddleRight));
1025
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, Text, InternalLayout.
TextRectangle
, textColor, Font, InternalLayout.TextFormat));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.ToolStripMenuItemInternalLayout.cs (1)
151
return base.
TextRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
528
renderer.DrawItemText(new ToolStripItemTextRenderEventArgs(g, this, SplitButtonButton.Text, SplitButtonButtonLayout.
TextRectangle
, ForeColor, Font, SplitButtonButtonLayout.TextFormat));
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.ToolStripSplitButtonButtonLayout.cs (1)
53
Rectangle textRect = base.
TextRectangle
;