102 writes to LayoutStyle
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
118set => base.LayoutStyle = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1097LayoutStyle = ToolStripLayoutStyle.Flow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
147set => base.LayoutStyle = value;
System.Windows.Forms.Tests (98)
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
912menuStrip.LayoutStyle = layoutStyle.Value;
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
953toolStrip.LayoutStyle = layoutStyle.Value;
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
21LayoutStyle = ToolStripLayoutStyle.Flow 51LayoutStyle = ToolStripLayoutStyle.Flow 64LayoutStyle = ToolStripLayoutStyle.Flow 99LayoutStyle = ToolStripLayoutStyle.Flow 110LayoutStyle = ToolStripLayoutStyle.Flow 121LayoutStyle = ToolStripLayoutStyle.Flow 133LayoutStyle = ToolStripLayoutStyle.Flow 173LayoutStyle = ToolStripLayoutStyle.Flow 236LayoutStyle = ToolStripLayoutStyle.Flow 248LayoutStyle = ToolStripLayoutStyle.Flow
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1728LayoutStyle = ToolStripLayoutStyle.Table
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
164using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 174using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 260using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 271using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 300using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
13using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 25using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 37using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 49using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 63using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 73using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 88using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 101using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
13using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 25using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 37using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 49using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 63using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 73using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 88using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 101using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
15using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 28using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 40using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 52using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 62using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 83using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 97using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 106using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 115using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 126using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 140using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 156using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 167using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 177using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 189using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 204using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 216using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 225using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 240using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 258using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 272using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 286using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStripDropDownTests.cs (4)
1201LayoutStyle = layoutStyle, 1228LayoutStyle = layoutStyle, 1333LayoutStyle = layoutStyle, 1366LayoutStyle = layoutStyle,
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
39LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow,
System\Windows\Forms\ToolStripSeparatorTests.cs (5)
804LayoutStyle = ownerLayoutStyle 852LayoutStyle = parentLayoutStyle 1221LayoutStyle = ownerLayoutStyle, 1226LayoutStyle = parentLayoutStyle, 1292LayoutStyle = ownerLayoutStyle,
System\Windows\Forms\ToolStripTests.cs (31)
1752LayoutStyle = layoutStyle, 1779LayoutStyle = layoutStyle, 1883LayoutStyle = layoutStyle, 1915LayoutStyle = layoutStyle, 2019LayoutStyle = layoutStyle, 2138LayoutStyle = layoutStyle, 2310LayoutStyle = layoutStyle, 2376LayoutStyle = layoutStyle 2460LayoutStyle = layoutStyle, 2566LayoutStyle = layoutStyle, 2901control.LayoutStyle = value; 2909control.LayoutStyle = value; 2935control.LayoutStyle = value; 2945control.LayoutStyle = value; 2999control.LayoutStyle = value; 3009control.LayoutStyle = value; 3092LayoutStyle = oldValue 3097control.LayoutStyle = value; 3105control.LayoutStyle = value; 3164control.LayoutStyle = value; 3175control.LayoutStyle = value; 3200control.LayoutStyle = ToolStripLayoutStyle.Flow; 3205control.LayoutStyle = ToolStripLayoutStyle.Flow; 3210control.LayoutStyle = ToolStripLayoutStyle.Table; 3216control.LayoutStyle = ToolStripLayoutStyle.Flow; 7293using ToolStrip toolStrip = new() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle }; 7405toolStrip.LayoutStyle = ToolStripLayoutStyle.Flow; 7408toolStrip.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; 7411toolStrip.LayoutStyle = ToolStripLayoutStyle.VerticalStackWithOverflow; 7414toolStrip.LayoutStyle = ToolStripLayoutStyle.Table; 7417toolStrip.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)
117get => base.LayoutStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
824return (LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1305if (LayoutStyle == ToolStripLayoutStyle.Flow) 1882return LayoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
146get => base.LayoutStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
80if (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)
183return parent.LayoutStyle switch
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (3)
161if (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) 196if (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) 493bool horizontal = (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow);
System.Windows.Forms.Tests (18)
System\Windows\Forms\MenuStripTests.cs (1)
106Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
113Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle);
System\Windows\Forms\ToolStripTests.cs (16)
124Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle); 279Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle); 2902Assert.Equal(expected, control.LayoutStyle); 2910Assert.Equal(expected, control.LayoutStyle); 2936Assert.Equal(expected, control.LayoutStyle); 2946Assert.Equal(expected, control.LayoutStyle); 3000Assert.Equal(expected, control.LayoutStyle); 3010Assert.Equal(expected, control.LayoutStyle); 3098Assert.Equal(expected, control.LayoutStyle); 3106Assert.Equal(expected, control.LayoutStyle); 3165Assert.Equal(expected, control.LayoutStyle); 3176Assert.Equal(expected, control.LayoutStyle); 3201Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle); 3206Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle); 3211Assert.Equal(ToolStripLayoutStyle.Table, control.LayoutStyle); 3217Assert.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)}";