102 writes to LayoutStyle
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
121
set => base.
LayoutStyle
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1097
LayoutStyle
= ToolStripLayoutStyle.Flow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
147
set => base.
LayoutStyle
= value;
System.Windows.Forms.Tests (98)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
910
menuStrip.
LayoutStyle
= layoutStyle.Value;
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
951
toolStrip.
LayoutStyle
= layoutStyle.Value;
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
19
LayoutStyle
= ToolStripLayoutStyle.Flow
49
LayoutStyle
= ToolStripLayoutStyle.Flow
62
LayoutStyle
= ToolStripLayoutStyle.Flow
97
LayoutStyle
= ToolStripLayoutStyle.Flow
108
LayoutStyle
= ToolStripLayoutStyle.Flow
119
LayoutStyle
= ToolStripLayoutStyle.Flow
131
LayoutStyle
= ToolStripLayoutStyle.Flow
171
LayoutStyle
= ToolStripLayoutStyle.Flow
234
LayoutStyle
= ToolStripLayoutStyle.Flow
246
LayoutStyle
= ToolStripLayoutStyle.Flow
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1726
LayoutStyle
= ToolStripLayoutStyle.Table
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
162
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
172
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
258
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
269
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
298
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
23
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
35
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
47
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
61
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
71
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
86
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
99
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
23
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
35
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
47
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
61
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
71
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
86
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
99
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
26
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
38
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
50
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
60
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
69
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
81
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
95
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
104
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
113
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
124
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
138
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
154
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
165
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
175
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
187
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
202
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
214
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
223
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
238
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
256
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
270
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
284
using ToolStrip toolStrip = new() {
LayoutStyle
= ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStripDropDownTests.cs (4)
1199
LayoutStyle
= layoutStyle,
1226
LayoutStyle
= layoutStyle,
1331
LayoutStyle
= layoutStyle,
1364
LayoutStyle
= layoutStyle,
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
37
LayoutStyle
= ToolStripLayoutStyle.HorizontalStackWithOverflow,
System\Windows\Forms\ToolStripSeparatorTests.cs (5)
802
LayoutStyle
= ownerLayoutStyle
850
LayoutStyle
= parentLayoutStyle
1219
LayoutStyle
= ownerLayoutStyle,
1224
LayoutStyle
= parentLayoutStyle,
1290
LayoutStyle
= ownerLayoutStyle,
System\Windows\Forms\ToolStripTests.cs (31)
1750
LayoutStyle
= layoutStyle,
1777
LayoutStyle
= layoutStyle,
1881
LayoutStyle
= layoutStyle,
1913
LayoutStyle
= layoutStyle,
2017
LayoutStyle
= layoutStyle,
2136
LayoutStyle
= layoutStyle,
2308
LayoutStyle
= layoutStyle,
2374
LayoutStyle
= layoutStyle
2458
LayoutStyle
= layoutStyle,
2564
LayoutStyle
= layoutStyle,
2899
control.
LayoutStyle
= value;
2907
control.
LayoutStyle
= value;
2933
control.
LayoutStyle
= value;
2943
control.
LayoutStyle
= value;
2997
control.
LayoutStyle
= value;
3007
control.
LayoutStyle
= value;
3090
LayoutStyle
= oldValue
3095
control.
LayoutStyle
= value;
3103
control.
LayoutStyle
= value;
3162
control.
LayoutStyle
= value;
3173
control.
LayoutStyle
= value;
3198
control.
LayoutStyle
= ToolStripLayoutStyle.Flow;
3203
control.
LayoutStyle
= ToolStripLayoutStyle.Flow;
3208
control.
LayoutStyle
= ToolStripLayoutStyle.Table;
3214
control.
LayoutStyle
= ToolStripLayoutStyle.Flow;
7291
using ToolStrip toolStrip = new() {
LayoutStyle
= toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle };
7434
toolStrip.
LayoutStyle
= ToolStripLayoutStyle.Flow;
7437
toolStrip.
LayoutStyle
= ToolStripLayoutStyle.HorizontalStackWithOverflow;
7440
toolStrip.
LayoutStyle
= ToolStripLayoutStyle.VerticalStackWithOverflow;
7443
toolStrip.
LayoutStyle
= ToolStripLayoutStyle.Table;
7446
toolStrip.
LayoutStyle
= ToolStripLayoutStyle.StackWithOverflow;
WinFormsControlsTest (1)
ToolStripSeparatorPreferredSize.cs (1)
18
_toolStrip1.
LayoutStyle
= _toolStrip1.LayoutStyle == ToolStripLayoutStyle.VerticalStackWithOverflow
32 references to LayoutStyle
System.Windows.Forms (12)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
120
get => base.
LayoutStyle
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
825
return (
LayoutStyle
== ToolStripLayoutStyle.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1305
if (
LayoutStyle
== ToolStripLayoutStyle.Flow)
1882
return
LayoutStyle
!= ToolStripLayoutStyle.VerticalStackWithOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
146
get => base.
LayoutStyle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
80
if (ParentInternal.
LayoutStyle
== ToolStripLayoutStyle.VerticalStackWithOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (2)
20
_layoutStyle = toolStrip.
LayoutStyle
;
26
=> toolStrip is not null && toolStrip.Size == _size && toolStrip.
LayoutStyle
== _layoutStyle && toolStrip.AutoSize == _autoSize;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
183
return parent.
LayoutStyle
switch
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (3)
161
if (ToolStrip.
LayoutStyle
== ToolStripLayoutStyle.HorizontalStackWithOverflow)
196
if (ToolStrip.
LayoutStyle
== ToolStripLayoutStyle.HorizontalStackWithOverflow)
493
bool horizontal = (ToolStrip.
LayoutStyle
== ToolStripLayoutStyle.HorizontalStackWithOverflow);
System.Windows.Forms.Tests (18)
System\Windows\Forms\MenuStripTests.cs (1)
104
Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.
LayoutStyle
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
111
Assert.Equal(ToolStripLayoutStyle.Flow, control.
LayoutStyle
);
System\Windows\Forms\ToolStripTests.cs (16)
122
Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.
LayoutStyle
);
277
Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.
LayoutStyle
);
2900
Assert.Equal(expected, control.
LayoutStyle
);
2908
Assert.Equal(expected, control.
LayoutStyle
);
2934
Assert.Equal(expected, control.
LayoutStyle
);
2944
Assert.Equal(expected, control.
LayoutStyle
);
2998
Assert.Equal(expected, control.
LayoutStyle
);
3008
Assert.Equal(expected, control.
LayoutStyle
);
3096
Assert.Equal(expected, control.
LayoutStyle
);
3104
Assert.Equal(expected, control.
LayoutStyle
);
3163
Assert.Equal(expected, control.
LayoutStyle
);
3174
Assert.Equal(expected, control.
LayoutStyle
);
3199
Assert.Equal(ToolStripLayoutStyle.Flow, control.
LayoutStyle
);
3204
Assert.Equal(ToolStripLayoutStyle.Flow, control.
LayoutStyle
);
3209
Assert.Equal(ToolStripLayoutStyle.Table, control.
LayoutStyle
);
3215
Assert.Equal(ToolStripLayoutStyle.Flow, control.
LayoutStyle
);
WinFormsControlsTest (2)
ToolStripSeparatorPreferredSize.cs (2)
18
_toolStrip1.LayoutStyle = _toolStrip1.
LayoutStyle
== ToolStripLayoutStyle.VerticalStackWithOverflow
26
_label1.Text = $"Layout: {_toolStrip1.
LayoutStyle
}, Size: {_toolStripSeparator1.Size}, GetPreferredSize: {_toolStripSeparator1.GetPreferredSize(_toolStripSeparator1.Size)}";