5 references to GripBounds
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
57Rectangle bounds = e.GripBounds;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
483Rectangle bounds = e.GripBounds;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
279Rectangle bounds = new(Point.Empty, e.GripBounds.Size); 291bounds.Y = Math.Max(0, (e.GripBounds.Height - bounds.Height - 2/*number of pixels for border*/) / 2);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
51Assert.Equal(toolStrip.GripRectangle, e.GripBounds);