35 references to Grip
System.Windows.Forms (35)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (28)
736
int gripwidth =
Grip
.GripThickness +
Grip
.Margin.Horizontal;
743
int gripheight =
Grip
.GripThickness +
Grip
.Margin.Vertical;
814
Grip
.Visible = _toolStripGripStyle == ToolStripGripStyle.Visible;
839
return
Grip
.Margin;
843
Grip
.Margin = value;
855
return (GripStyle == ToolStripGripStyle.Visible) ?
Grip
.Bounds : Rectangle.Empty;
2323
maxSize.Width += gripMargin.Horizontal + toolStrip.
Grip
.GripThickness;
2381
maxSize.Height += gripMargin.Vertical + toolStrip.
Grip
.GripThickness;
3350
if (!
Grip
.MovingToolStrip)
3379
item =
Grip
;
3410
Grip
.MovingToolStrip = false;
3423
ToolStripItem? item =
Grip
.MovingToolStrip ?
Grip
: GetItemAt(mea.X, mea.Y);
4031
GripMargin =
Grip
.DefaultMargin;
4176
gripRectangle.X = Math.Max(0, displayRect.X -
Grip
.GripThickness);
4177
gripRectangle.Y = Math.Max(0, displayRect.Top -
Grip
.Margin.Top);
4178
gripRectangle.Width =
Grip
.GripThickness;
4182
gripRectangle.X = ClientRectangle.Right - gripRectangle.Width -
Grip
.Margin.Horizontal;
4183
gripRectangle.X +=
Grip
.Margin.Left;
4187
gripRectangle.X -=
Grip
.Margin.Right;
4194
gripRectangle.Y = displayRect.Top - (
Grip
.GripThickness +
Grip
.Margin.Bottom);
4196
gripRectangle.Height =
Grip
.GripThickness;
4199
if (
Grip
.Bounds != gripRectangle)
4201
Grip
.SetBounds(gripRectangle);
4245
DisplayedItems.Add(
Grip
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.ToolStripAccessibleObject.cs (7)
47
if (index == 0 && owner.
Grip
.Visible)
49
return owner.
Grip
.AccessibilityObject;
51
else if (owner.
Grip
.Visible && index > 0)
136
if (owner.
Grip
.Visible)
285
if (child.Owner == owner.
Grip
)
331
if (owner.
Grip
.Visible)
333
if (child.Owner == owner.
Grip
)