16 references to GripRectangle
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
405
get => base.
GripRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
21
public Rectangle GripBounds => ToolStrip.
GripRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
955
Point cursorLoc = toolStripToDrag.PointToScreen(toolStripToDrag.
GripRectangle
.Location);
958
cursorLoc.X += toolStripToDrag.
GripRectangle
.Width / 2;
963
cursorLoc.Y += toolStripToDrag.
GripRectangle
.Height / 2;
System.Windows.Forms.Tests (11)
System\Windows\Forms\MenuStripTests.cs (1)
87
Assert.Equal(Rectangle.Empty, control.
GripRectangle
);
System\Windows\Forms\StatusStripTests.cs (1)
87
Assert.Equal(Rectangle.Empty, control.
GripRectangle
);
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
53
Assert.Equal(toolStrip.
GripRectangle
, e.GripBounds);
System\Windows\Forms\ToolStripTests.cs (8)
102
Assert.Equal(2, control.
GripRectangle
.X);
103
Assert.Equal(0, control.
GripRectangle
.Y);
104
Assert.True(control.
GripRectangle
.Width > 0);
105
Assert.Equal(25, control.
GripRectangle
.Height);
256
Assert.Equal(2, control.
GripRectangle
.X);
257
Assert.Equal(0, control.
GripRectangle
.Y);
258
Assert.True(control.
GripRectangle
.Width > 0);
259
Assert.Equal(25, control.
GripRectangle
.Height);