111 references to Visible
System.Windows.Forms (10)
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
77
return GripStyle == ToolStripGripStyle.
Visible
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (9)
43
private ToolStripGripStyle _toolStripGripStyle = ToolStripGripStyle.
Visible
;
734
if ((LayoutEngine is ToolStripSplitStackLayout) && (GripStyle == ToolStripGripStyle.
Visible
))
790
Visible = _toolStripGripStyle == ToolStripGripStyle.
Visible
,
802
[DefaultValue(ToolStripGripStyle.
Visible
)]
816
Grip.Visible = _toolStripGripStyle == ToolStripGripStyle.
Visible
;
857
return (GripStyle == ToolStripGripStyle.
Visible
) ? Grip.Bounds : Rectangle.Empty;
2321
if (toolStrip.GripStyle == ToolStripGripStyle.
Visible
)
2379
if (toolStrip.GripStyle == ToolStripGripStyle.
Visible
)
4244
if (GripStyle == ToolStripGripStyle.
Visible
)
System.Windows.Forms.Tests (101)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (22)
206
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
209
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
258
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
259
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
260
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
261
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
339
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, overflowSize };
341
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, overflowSize };
763
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
766
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
769
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
772
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
802
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
805
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
808
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
811
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
814
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
817
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
844
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
847
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
850
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
853
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (22)
186
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
189
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
238
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
239
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
240
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
241
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
319
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, overflowSize };
321
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, overflowSize };
743
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
746
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
749
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
752
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
782
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
785
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
788
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
791
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
794
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
797
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
824
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
827
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
830
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
833
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (24)
199
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, verticalSize, canOverflow };
202
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, horizontalSize, canOverflow };
251
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalSize, canOverflow };
252
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalSize, canOverflow };
253
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalSize, canOverflow };
254
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalSize, canOverflow };
332
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, overflowSize };
334
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, overflowSize };
756
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
759
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
762
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
765
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
795
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
798
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
801
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
804
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
807
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Table, null, bothOverflowSize };
810
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.Flow, null, bothOverflowSize };
837
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.HorizontalStackWithOverflow, null, horizontalOverflowGripSize };
840
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.VerticalStackWithOverflow, null, verticalOverflowGripSize };
843
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Top, horizontalOverflowGripSize };
846
yield return new object[] { ToolStripGripStyle.
Visible
, ToolStripLayoutStyle.StackWithOverflow, DockStyle.Left, verticalOverflowGripSize };
919
yield return (layout, ToolStripGripStyle.
Visible
);
932
yield return (layout, ToolStripGripStyle.
Visible
);
System\Windows\Forms\MenuStripTests.cs (3)
232
GripStyle = ToolStripGripStyle.
Visible
239
[InlineData(ToolStripGripStyle.
Visible
, 1)]
266
[InlineData(ToolStripGripStyle.
Visible
, 1)]
System\Windows\Forms\StatusStripTests.cs (1)
321
[InlineData(ToolStripGripStyle.
Visible
, 1)]
System\Windows\Forms\ToolStripDropDownTests.cs (1)
1774
[InlineData(ToolStripGripStyle.
Visible
, 1)]
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
38
GripStyle = ToolStripGripStyle.
Visible
System\Windows\Forms\ToolStripTests.cs (27)
97
Assert.Equal(ToolStripGripStyle.
Visible
, control.GripStyle);
251
Assert.Equal(ToolStripGripStyle.
Visible
, control.GripStyle);
2266
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Visible
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2267
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Visible
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2268
yield return new object[] { ToolStripLayoutStyle.Flow, ToolStripGripStyle.
Visible
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2273
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Yes, new Rectangle(0, 0, width, 25) };
2274
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.No, new Rectangle(x, 0, width, 25) };
2275
yield return new object[] { ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Inherit, new Rectangle(x, 0, width, 25) };
2280
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Yes, new Rectangle(0, 0, width, 25) };
2281
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.No, new Rectangle(x, 0, width, 25) };
2282
yield return new object[] { ToolStripLayoutStyle.StackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Inherit, new Rectangle(x, 0, width, 25) };
2287
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Visible
, RightToLeft.Yes, new Rectangle(0, 0, 99, 25) };
2288
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Visible
, RightToLeft.No, new Rectangle(0, 0, 99, 25) };
2289
yield return new object[] { ToolStripLayoutStyle.Table, ToolStripGripStyle.
Visible
, RightToLeft.Inherit, new Rectangle(0, 0, 99, 25) };
2294
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Yes, new Rectangle(0, x, 99, height) };
2295
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.No, new Rectangle(0, x, 99, height) };
2296
yield return new object[] { ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripGripStyle.
Visible
, RightToLeft.Inherit, new Rectangle(0, x, 99, height) };
2761
[InlineData(ToolStripGripStyle.
Visible
, 0, 1)]
2791
[InlineData(ToolStripGripStyle.
Visible
, 0)]
2807
Assert.Equal(value == ToolStripGripStyle.
Visible
, grip.Visible);
2814
Assert.Equal(value == ToolStripGripStyle.
Visible
, grip.Visible);
2821
[InlineData(ToolStripGripStyle.
Visible
, 0)]
7274
[InlineData(ToolStripLayoutStyle.Flow, true, ToolStripGripStyle.
Visible
)]
7275
[InlineData(ToolStripLayoutStyle.HorizontalStackWithOverflow, true, ToolStripGripStyle.
Visible
)]
7276
[InlineData(ToolStripLayoutStyle.StackWithOverflow, true, ToolStripGripStyle.
Visible
)]
7277
[InlineData(ToolStripLayoutStyle.Table, true, ToolStripGripStyle.
Visible
)]
7278
[InlineData(ToolStripLayoutStyle.VerticalStackWithOverflow, true, ToolStripGripStyle.
Visible
)]