8 references to GripBounds
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
57
Rectangle bounds = e.
GripBounds
;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
483
Rectangle bounds = e.
GripBounds
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (3)
516
if (e.
GripBounds
.Width <= 0 || e.
GripBounds
.Height <= 0)
526
Rectangle bounds = e.
GripBounds
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (2)
333
Rectangle bounds = new(Point.Empty, e.
GripBounds
.Size);
346
bounds.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)
53
Assert.Equal(toolStrip.GripRectangle, e.
GripBounds
);