9 writes to GripMargin
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4031
GripMargin
= Grip.DefaultMargin;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
414
set => base.
GripMargin
= value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ToolStripTests.cs (7)
2729
control.
GripMargin
= value;
2734
control.
GripMargin
= value;
2749
control.
GripMargin
= value;
2755
control.
GripMargin
= value;
7384
toolStrip.
GripMargin
= new Padding(10, 10, 10, 10);
7424
using ToolStrip toolStrip = new() {
GripMargin
= new Padding(1) };
7428
toolStrip.
GripMargin
= defaultGripMargin;
15 references to GripMargin
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
2321
Padding gripMargin = toolStrip.
GripMargin
;
2379
Padding gripMargin = toolStrip.
GripMargin
;
3899
bounds = LayoutUtils.InflateRect(bounds,
GripMargin
);
4468
return
GripMargin
!= DefaultGripMargin;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
413
get => base.
GripMargin
;
System.Windows.Forms.Tests (10)
System\Windows\Forms\MenuStripTests.cs (1)
86
Assert.Equal(new Padding(2, 2, 0, 2), control.
GripMargin
);
System\Windows\Forms\StatusStripTests.cs (1)
86
Assert.Equal(new Padding(2, 2, 2, 2), control.
GripMargin
);
System\Windows\Forms\ToolStripTests.cs (8)
101
Assert.Equal(new Padding(2, 2, 2, 2), control.
GripMargin
);
255
Assert.Equal(new Padding(2, 2, 2, 2), control.
GripMargin
);
2258
Assert.Equal(new Padding(2, 2, 2, 2), control.
GripMargin
);
2730
Assert.Equal(value, control.
GripMargin
);
2735
Assert.Equal(value, control.
GripMargin
);
2750
Assert.Equal(value, control.
GripMargin
);
2756
Assert.Equal(value, control.
GripMargin
);
7388
toolStrip.
GripMargin
.Should().Be(defaultMargin);