35 references to Grip
System.Windows.Forms (35)
winforms\Managed\System\WinForms\ToolStrip.cs (35)
854
int gripwidth =
Grip
.GripThickness +
Grip
.Margin.Horizontal;
860
int gripheight =
Grip
.GripThickness +
Grip
.Margin.Vertical;
947
Grip
.Visible = toolStripGripStyle ==ToolStripGripStyle.Visible;
978
return
Grip
.Margin;
981
Grip
.Margin = value;
994
return (GripStyle == ToolStripGripStyle.Visible) ?
Grip
.Bounds : Rectangle.Empty;
2524
maxSize.Width += gripMargin.Horizontal + toolStrip.
Grip
.GripThickness;
2578
maxSize.Height += gripMargin.Vertical + toolStrip.
Grip
.GripThickness;
3522
if (!
Grip
.MovingToolStrip) {
3556
item = this.
Grip
;
3590
Grip
.MovingToolStrip = false;
3605
ToolStripItem item = (
Grip
.MovingToolStrip) ?
Grip
: GetItemAt(mea.X, mea.Y);
4142
GripMargin =
Grip
.DefaultMargin;
4291
gripRectangle.X = Math.Max(0, displayRect.X -
Grip
.GripThickness);
4292
gripRectangle.Y = Math.Max(0,displayRect.Top -
Grip
.Margin.Top);
4293
gripRectangle.Width =
Grip
.GripThickness;
4296
gripRectangle.X = ClientRectangle.Right - gripRectangle.Width -
Grip
.Margin.Horizontal;
4297
gripRectangle.X +=
Grip
.Margin.Left;
4300
gripRectangle.X -=
Grip
.Margin.Right;
4306
gripRectangle.Y = displayRect.Top - (
Grip
.GripThickness +
Grip
.Margin.Bottom);
4308
gripRectangle.Height =
Grip
.GripThickness;
4311
if (
Grip
.Bounds !=gripRectangle) {
4312
Grip
.SetBounds(gripRectangle);
4356
this.DisplayedItems.Add(
Grip
);
4856
if (index == 0 && owner.
Grip
.Visible) {
4857
return owner.
Grip
.AccessibilityObject;
4859
else if (owner.
Grip
.Visible && index > 0) {
4924
if (owner.
Grip
.Visible) {
4990
if (child.Owner == owner.
Grip
) {
5035
if (owner.
Grip
.Visible) {
5036
if (child.Owner == owner.
Grip
) {