123 references to ToolStripGripDisplayStyle
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
821
public
ToolStripGripDisplayStyle
GripDisplayStyle
825
return (LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) ?
ToolStripGripDisplayStyle
.Vertical
826
:
ToolStripGripDisplayStyle
.Horizontal;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
396
public new
ToolStripGripDisplayStyle
GripDisplayStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
26
public
ToolStripGripDisplayStyle
GripDisplayStyle => ToolStrip.GripDisplayStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
280
bool verticalGrip = e.GripDisplayStyle ==
ToolStripGripDisplayStyle
.Vertical;
System.Windows.Forms.Tests (117)
System\Windows\Forms\MdiControlStripTests.cs (1)
85
Assert.Equal(
ToolStripGripDisplayStyle
.Vertical, mdiControlStrip.GripDisplayStyle);
System\Windows\Forms\MenuStripTests.cs (1)
83
Assert.Equal(
ToolStripGripDisplayStyle
.Vertical, control.GripDisplayStyle);
System\Windows\Forms\StatusStripTests.cs (12)
83
Assert.Equal(
ToolStripGripDisplayStyle
.Horizontal, control.GripDisplayStyle);
350
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
351
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
352
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
353
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
354
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
359
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
360
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
361
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
362
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
363
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
369
public void StatusStrip_LayoutStyle_Set_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)
System\Windows\Forms\ToolStripDropDownTests.cs (1)
88
Assert.Equal(
ToolStripGripDisplayStyle
.Horizontal, control.GripDisplayStyle);
System\Windows\Forms\ToolStripTests.cs (102)
98
Assert.Equal(
ToolStripGripDisplayStyle
.Vertical, control.GripDisplayStyle);
252
Assert.Equal(
ToolStripGripDisplayStyle
.Vertical, control.GripDisplayStyle);
2871
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2872
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2873
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2874
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2875
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
2880
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
2881
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
2882
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2883
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
2884
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2890
public void ToolStrip_LayoutStyle_Set_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)
2917
public void ToolStrip_LayoutStyle_SetWithParent_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)
2962
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2963
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2964
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2965
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2966
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
2971
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2972
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2973
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
2974
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
2975
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
2981
public void ToolStrip_LayoutStyle_SetWithToolStripPanelParent_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)
3026
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3027
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3028
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3029
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3030
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3031
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3032
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3033
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3034
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3035
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3036
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3037
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3038
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3039
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3040
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3041
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3042
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3043
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3044
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3045
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3046
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3047
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3048
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3049
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3050
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3055
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3056
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3057
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3058
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3059
yield return new object[] { dock, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3060
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3061
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3062
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3063
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3064
yield return new object[] { dock, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3065
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3066
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3067
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3068
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3069
yield return new object[] { dock, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3070
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3071
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3072
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3073
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3074
yield return new object[] { dock, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3075
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3076
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3077
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3078
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3079
yield return new object[] { dock, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3085
public void ToolStrip_LayoutStyle_SetWithCustomOldValue_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle oldValue, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)
3113
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3114
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3115
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3116
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3117
yield return new object[] { DockStyle.None, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3119
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3120
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 2 };
3121
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3122
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3123
yield return new object[] { DockStyle.Left, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3125
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3126
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 2 };
3127
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 0 };
3128
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3129
yield return new object[] { DockStyle.Right, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3131
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3132
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3133
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3134
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3135
yield return new object[] { DockStyle.Top, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3137
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Flow, ToolStripLayoutStyle.Flow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3138
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.HorizontalStackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 1 };
3139
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.StackWithOverflow, ToolStripLayoutStyle.HorizontalStackWithOverflow, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Vertical, 0 };
3140
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.Table, ToolStripLayoutStyle.Table, Orientation.Horizontal,
ToolStripGripDisplayStyle
.Horizontal, 1 };
3141
yield return new object[] { DockStyle.Bottom, ToolStripLayoutStyle.VerticalStackWithOverflow, ToolStripLayoutStyle.VerticalStackWithOverflow, Orientation.Vertical,
ToolStripGripDisplayStyle
.Horizontal, 2 };
3146
public void ToolStrip_LayoutStyle_SetWithHandle_GetReturnsExpected(DockStyle dock, ToolStripLayoutStyle value, ToolStripLayoutStyle expected, Orientation expectedOrientation,
ToolStripGripDisplayStyle
expectedGripDisplayStyle, int expectedLayoutCallCount)