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; 424nextPoint.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