120 references to Hidden
System.Windows.Forms (8)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (2)
21
GripStyle = ToolStripGripStyle.
Hidden
;
87
[DefaultValue(ToolStripGripStyle.
Hidden
)]
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
200
_toolStrip.GripStyle = ToolStripGripStyle.
Hidden
;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
36
GripStyle = ToolStripGripStyle.
Hidden
;
110
[DefaultValue(ToolStripGripStyle.
Hidden
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
417
[DefaultValue(ToolStripGripStyle.
Hidden
)]
1098
GripStyle = ToolStripGripStyle.
Hidden
;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
800
_toolStrip1.GripStyle = ToolStripGripStyle.
Hidden
;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1491
_miniToolStrip.GripStyle = ToolStripGripStyle.
Hidden
;
System.Windows.Forms.Tests (108)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (24)
189
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
190
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
191
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
192
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
205
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
208
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
304
using MenuStrip menuStrip = CreateMenuStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: true, itemCount: 1);
327
using MenuStrip menuStrip = CreateMenuStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: false, itemCount: 3);
338
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, overflowSize };
340
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, overflowSize };
764
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
767
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
770
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
773
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
803
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
806
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
809
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
812
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
815
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
818
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
845
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
848
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
851
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
854
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (24)
169
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
170
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
171
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
172
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
185
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
188
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
284
using StatusStrip statusStrip = CreateStatusStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: true, itemCount: 1);
307
using StatusStrip statusStrip = CreateStatusStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: false, itemCount: 1);
318
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, overflowSize };
320
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, overflowSize };
744
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
747
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
750
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
753
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
783
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
786
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
789
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
792
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
795
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
798
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
825
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
828
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
831
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
834
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (26)
182
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
183
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
184
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
185
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
198
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
201
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
297
using ToolStrip toolStrip = CreateToolStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: true, itemCount: 1);
320
using ToolStrip toolStrip = CreateToolStrip(ToolStripGripStyle.
Hidden
, layout, dock, size, canOverflow: false, itemCount: 3);
331
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, overflowSize };
333
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, overflowSize };
757
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
760
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
763
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
766
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
796
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
799
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
802
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
805
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
808
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
811
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
838
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowSize };
841
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowSize };
844
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowSize };
847
yield return new object[] { ToolStripGripStyle.
Hidden
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowSize };
927
yield return (layout, ToolStripGripStyle.
Hidden
);
933
yield return (layout, ToolStripGripStyle.
Hidden
);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
267
using ToolStrip toolStrip = new() { GripStyle = ToolStripGripStyle.
Hidden
};
System\Windows\Forms\MdiControlStripTests.cs (1)
84
Assert.Equal(ToolStripGripStyle.
Hidden
, mdiControlStrip.GripStyle);
System\Windows\Forms\MenuStripTests.cs (3)
82
Assert.Equal(ToolStripGripStyle.
Hidden
, control.GripStyle);
238
[InlineData(ToolStripGripStyle.
Hidden
, 0)]
265
[InlineData(ToolStripGripStyle.
Hidden
, 0)]
System\Windows\Forms\StatusStripTests.cs (2)
82
Assert.Equal(ToolStripGripStyle.
Hidden
, control.GripStyle);
320
[InlineData(ToolStripGripStyle.
Hidden
, 0)]
System\Windows\Forms\ToolStripDropDownTests.cs (2)
87
Assert.Equal(ToolStripGripStyle.
Hidden
, control.GripStyle);
1773
[InlineData(ToolStripGripStyle.
Hidden
, 0)]
System\Windows\Forms\ToolStripRendererTests.cs (1)
477
yield return new object[] { new StatusStrip { GripStyle = ToolStripGripStyle.
Hidden
} };
System\Windows\Forms\ToolStripTests.cs (24)
2269
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Hidden
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2270
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Hidden
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2271
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Hidden
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2276
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2277
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2278
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2283
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2284
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2285
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2290
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Hidden
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2291
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Hidden
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2292
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Hidden
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2297
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2298
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2299
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Hidden
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2760
[InlineData(ToolStripGripStyle.
Hidden
, 1, 0)]
2790
[InlineData(ToolStripGripStyle.
Hidden
, 1)]
2820
[InlineData(ToolStripGripStyle.
Hidden
, 1)]
5818
GripStyle = ToolStripGripStyle.
Hidden
7279
[InlineData(ToolStripLayoutStyle.Flow, true, ToolStripGripStyle.
Hidden
)]
7280
[InlineData(ToolStripLayoutStyle.HorizontalStackWithOverflow, true, ToolStripGripStyle.
Hidden
)]
7281
[InlineData(ToolStripLayoutStyle.StackWithOverflow, true, ToolStripGripStyle.
Hidden
)]
7282
[InlineData(ToolStripLayoutStyle.Table, true, ToolStripGripStyle.
Hidden
)]
7283
[InlineData(ToolStripLayoutStyle.VerticalStackWithOverflow, true, ToolStripGripStyle.
Hidden
)]
System.Windows.Forms.UI.IntegrationTests (2)
Dpi\ToolStripItemTests.Dpi.cs (1)
40
toolStrip.GripStyle = ToolStripGripStyle.
Hidden
;
DragDropTests.cs (1)
962
GripStyle = ToolStripGripStyle.
Hidden
WinFormsControlsTest (1)
DragDrop.cs (1)
442
GripStyle = ToolStripGripStyle.
Hidden