53 references to ToolStripLayoutStyle
System.Windows.Forms (53)
winforms\Managed\System\WinForms\StatusStrip.cs (7)
46this.LayoutStyle = ToolStripLayoutStyle.Table; 135[DefaultValue(ToolStripLayoutStyle.Table)] 136public new ToolStripLayoutStyle LayoutStyle { 306if (LayoutStyle == ToolStripLayoutStyle.Table) { 343if (this.LayoutStyle == ToolStripLayoutStyle.Table) { 353if (this.LayoutStyle == ToolStripLayoutStyle.Table) { 446if (this.LayoutStyle == ToolStripLayoutStyle.Table) {
winforms\Managed\System\WinForms\ToolStrip.cs (28)
64private ToolStripLayoutStyle layoutStyle = ToolStripLayoutStyle.StackWithOverflow; 963return (LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical 1335AmbientValue(ToolStripLayoutStyle.StackWithOverflow) 1337public ToolStripLayoutStyle LayoutStyle { 1339if (layoutStyle == ToolStripLayoutStyle.StackWithOverflow) { 1342return ToolStripLayoutStyle.HorizontalStackWithOverflow; 1344return ToolStripLayoutStyle.VerticalStackWithOverflow; 1351if (!ClientUtils.IsEnumValid(value, (int)value, (int)ToolStripLayoutStyle.StackWithOverflow, (int)ToolStripLayoutStyle.Table)){ 1352throw new InvalidEnumArgumentException("value", (int)value, typeof(ToolStripLayoutStyle)); 1358case ToolStripLayoutStyle.Flow: 1365case ToolStripLayoutStyle.Table: 1373case ToolStripLayoutStyle.StackWithOverflow: 1374case ToolStripLayoutStyle.HorizontalStackWithOverflow: 1375case ToolStripLayoutStyle.VerticalStackWithOverflow: 1378if (value != ToolStripLayoutStyle.StackWithOverflow) { 1379UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.Horizontal); 1619if (layoutStyle == ToolStripLayoutStyle.StackWithOverflow) 1956protected virtual LayoutSettings CreateLayoutSettings(ToolStripLayoutStyle layoutStyle) { 1958case ToolStripLayoutStyle.Flow: 1960case ToolStripLayoutStyle.Table: 4564return layoutStyle != ToolStripLayoutStyle.StackWithOverflow; 4642if (!IsInToolStripPanel && layoutStyle != ToolStripLayoutStyle.HorizontalStackWithOverflow && layoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow) { 4664if (layoutStyle != ToolStripLayoutStyle.HorizontalStackWithOverflow && layoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow) { 4677if (LayoutEngine is ToolStripSplitStackLayout && layoutStyle == ToolStripLayoutStyle.StackWithOverflow) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
1136protected override LayoutSettings CreateLayoutSettings(ToolStripLayoutStyle style) { 1139if (style == ToolStripLayoutStyle.Flow) { 1318this.LayoutStyle = ToolStripLayoutStyle.Flow; 1536if (LayoutStyle == ToolStripLayoutStyle.Flow) { 2107return LayoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
198DefaultValue(ToolStripLayoutStyle.Flow) 200public new ToolStripLayoutStyle LayoutStyle {
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
107if (this.ParentInternal.LayoutStyle == ToolStripLayoutStyle.VerticalStackWithOverflow) {
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
4801private ToolStripLayoutStyle layoutStyle;
winforms\Managed\System\WinForms\ToolStripSeparator.cs (6)
293case ToolStripLayoutStyle.VerticalStackWithOverflow: 295case ToolStripLayoutStyle.HorizontalStackWithOverflow: 296case ToolStripLayoutStyle.Flow: 297case ToolStripLayoutStyle.Table: 423if (parent.LayoutStyle != ToolStripLayoutStyle.HorizontalStackWithOverflow || parent.LayoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow) {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (3)
199if (toolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) { 234if (toolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) { 516bool horizontal = (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow);