1 write to textRectangle
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
474textRectangle = new Rectangle(nextPoint, maxTextSize);
8 references to textRectangle
System.Windows.Forms (8)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (8)
254return textRectangle; 477nextPoint.X = textRectangle.Right+ scaledTextPadding.Right + scaledArrowPadding.Left; 493textRectangle.X = width - textRectangle.Right; 510textRectangle.Y = LayoutUtils.VAlign(textRectangle.Size, new Rectangle(Point.Empty, maxItemSize), ContentAlignment.MiddleCenter).Y; 511textRectangle.Y += (textRectangle.Height %2); // if the height is odd, push down by one px, see 339274 for picture