102 writes to LayoutStyle
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
121set => 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)
910menuStrip.LayoutStyle = layoutStyle.Value;
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
951toolStrip.LayoutStyle = layoutStyle.Value;
System\Windows\Forms\FlowLayoutSettingsTests.cs (10)
19LayoutStyle = ToolStripLayoutStyle.Flow 49LayoutStyle = ToolStripLayoutStyle.Flow 62LayoutStyle = ToolStripLayoutStyle.Flow 97LayoutStyle = ToolStripLayoutStyle.Flow 108LayoutStyle = ToolStripLayoutStyle.Flow 119LayoutStyle = ToolStripLayoutStyle.Flow 131LayoutStyle = ToolStripLayoutStyle.Flow 171LayoutStyle = ToolStripLayoutStyle.Flow 234LayoutStyle = ToolStripLayoutStyle.Flow 246LayoutStyle = ToolStripLayoutStyle.Flow
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1726LayoutStyle = ToolStripLayoutStyle.Table
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (5)
162using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 172using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 258using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 269using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 298using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
11using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 23using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 35using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 47using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 61using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 71using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 86using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 99using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
13using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 26using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 38using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 50using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 60using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 69using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 81using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 95using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 104using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 113using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 124using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 138using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 154using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 165using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 175using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 187using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 202using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 214using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 223using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 238using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 256using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 270using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table }; 284using ToolStrip toolStrip = new() { LayoutStyle = ToolStripLayoutStyle.Table };
System\Windows\Forms\ToolStripDropDownTests.cs (4)
1199LayoutStyle = layoutStyle, 1226LayoutStyle = layoutStyle, 1331LayoutStyle = layoutStyle, 1364LayoutStyle = layoutStyle,
System\Windows\Forms\ToolStripGripRenderEventArgsTests.cs (1)
37LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow,
System\Windows\Forms\ToolStripSeparatorTests.cs (5)
802LayoutStyle = ownerLayoutStyle 850LayoutStyle = parentLayoutStyle 1219LayoutStyle = ownerLayoutStyle, 1224LayoutStyle = parentLayoutStyle, 1290LayoutStyle = ownerLayoutStyle,
System\Windows\Forms\ToolStripTests.cs (31)
1750LayoutStyle = layoutStyle, 1777LayoutStyle = layoutStyle, 1881LayoutStyle = layoutStyle, 1913LayoutStyle = layoutStyle, 2017LayoutStyle = layoutStyle, 2136LayoutStyle = layoutStyle, 2308LayoutStyle = layoutStyle, 2374LayoutStyle = layoutStyle 2458LayoutStyle = layoutStyle, 2564LayoutStyle = layoutStyle, 2899control.LayoutStyle = value; 2907control.LayoutStyle = value; 2933control.LayoutStyle = value; 2943control.LayoutStyle = value; 2997control.LayoutStyle = value; 3007control.LayoutStyle = value; 3090LayoutStyle = oldValue 3095control.LayoutStyle = value; 3103control.LayoutStyle = value; 3162control.LayoutStyle = value; 3173control.LayoutStyle = value; 3198control.LayoutStyle = ToolStripLayoutStyle.Flow; 3203control.LayoutStyle = ToolStripLayoutStyle.Flow; 3208control.LayoutStyle = ToolStripLayoutStyle.Table; 3214control.LayoutStyle = ToolStripLayoutStyle.Flow; 7291using ToolStrip toolStrip = new() { LayoutStyle = toolStripLayoutStyle, TabStop = tabStop, GripStyle = gripStyle }; 7434toolStrip.LayoutStyle = ToolStripLayoutStyle.Flow; 7437toolStrip.LayoutStyle = ToolStripLayoutStyle.HorizontalStackWithOverflow; 7440toolStrip.LayoutStyle = ToolStripLayoutStyle.VerticalStackWithOverflow; 7443toolStrip.LayoutStyle = ToolStripLayoutStyle.Table; 7446toolStrip.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)
120get => base.LayoutStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
825return (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)
104Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
111Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle);
System\Windows\Forms\ToolStripTests.cs (16)
122Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle); 277Assert.Equal(ToolStripLayoutStyle.HorizontalStackWithOverflow, control.LayoutStyle); 2900Assert.Equal(expected, control.LayoutStyle); 2908Assert.Equal(expected, control.LayoutStyle); 2934Assert.Equal(expected, control.LayoutStyle); 2944Assert.Equal(expected, control.LayoutStyle); 2998Assert.Equal(expected, control.LayoutStyle); 3008Assert.Equal(expected, control.LayoutStyle); 3096Assert.Equal(expected, control.LayoutStyle); 3104Assert.Equal(expected, control.LayoutStyle); 3163Assert.Equal(expected, control.LayoutStyle); 3174Assert.Equal(expected, control.LayoutStyle); 3199Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle); 3204Assert.Equal(ToolStripLayoutStyle.Flow, control.LayoutStyle); 3209Assert.Equal(ToolStripLayoutStyle.Table, control.LayoutStyle); 3215Assert.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)}";