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