1 write to _textRectangle
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
421
_textRectangle
= new Rectangle(nextPoint, maxTextSize);
8 references to _textRectangle
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (8)
198
=>
_textRectangle
;
424
nextPoint.X =
_textRectangle
.Right + _textPadding.Right + _arrowPadding.Left;
441
_textRectangle
.X = width -
_textRectangle
.Right;
456
_textRectangle
.Y = LayoutUtils.VAlign(
_textRectangle
.Size, new Rectangle(Point.Empty, _maxItemSize), ContentAlignment.MiddleCenter).Y;
457
_textRectangle
.Y += (
_textRectangle
.Height % 2); // if the height is odd, push down by one px