47 references to ToolStripLayoutStyle
System.Windows.Forms (47)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validation.cs (2)
519public static void Validate(System.Windows.Forms.ToolStripLayoutStyle enumToValidate, string parameterName = "value") 523ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.ToolStripLayoutStyle));
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (7)
33LayoutStyle = ToolStripLayoutStyle.Table; 117[DefaultValue(ToolStripLayoutStyle.Table)] 118public new ToolStripLayoutStyle LayoutStyle 300if (LayoutStyle == ToolStripLayoutStyle.Table) 341if (LayoutStyle == ToolStripLayoutStyle.Table) 354if (LayoutStyle == ToolStripLayoutStyle.Table) 450if (LayoutStyle == ToolStripLayoutStyle.Table)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (25)
44private ToolStripLayoutStyle _layoutStyle = ToolStripLayoutStyle.StackWithOverflow; 829return (LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical 1172[AmbientValue(ToolStripLayoutStyle.StackWithOverflow)] 1173public ToolStripLayoutStyle LayoutStyle 1177if (_layoutStyle == ToolStripLayoutStyle.StackWithOverflow) 1182return ToolStripLayoutStyle.HorizontalStackWithOverflow; 1184return ToolStripLayoutStyle.VerticalStackWithOverflow; 1200case ToolStripLayoutStyle.Flow: 1209case ToolStripLayoutStyle.Table: 1219case ToolStripLayoutStyle.StackWithOverflow: 1220case ToolStripLayoutStyle.HorizontalStackWithOverflow: 1221case ToolStripLayoutStyle.VerticalStackWithOverflow: 1224if (value != ToolStripLayoutStyle.StackWithOverflow) 1226UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.Horizontal); 1434if (_layoutStyle == ToolStripLayoutStyle.StackWithOverflow) 1767protected virtual LayoutSettings? CreateLayoutSettings(ToolStripLayoutStyle layoutStyle) => layoutStyle switch 1769ToolStripLayoutStyle.Flow => new FlowLayoutSettings(this), 1770ToolStripLayoutStyle.Table => new TableLayoutSettings(this), 4460return _layoutStyle != ToolStripLayoutStyle.StackWithOverflow; 4527if (!IsInToolStripPanel && _layoutStyle != ToolStripLayoutStyle.HorizontalStackWithOverflow && _layoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow) 4553if (_layoutStyle is not ToolStripLayoutStyle.HorizontalStackWithOverflow and not ToolStripLayoutStyle.VerticalStackWithOverflow) 4559if (LayoutEngine is ToolStripSplitStackLayout && _layoutStyle == ToolStripLayoutStyle.StackWithOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
921protected override LayoutSettings? CreateLayoutSettings(ToolStripLayoutStyle style) 925if (style == ToolStripLayoutStyle.Flow) 1094LayoutStyle = ToolStripLayoutStyle.Flow; 1302if (LayoutStyle == ToolStripLayoutStyle.Flow) 1879return LayoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
143[DefaultValue(ToolStripLayoutStyle.Flow)] 144public new ToolStripLayoutStyle LayoutStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
80if (ParentInternal.LayoutStyle == ToolStripLayoutStyle.VerticalStackWithOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (1)
14private readonly ToolStripLayoutStyle _layoutStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
185ToolStripLayoutStyle.VerticalStackWithOverflow => false,
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (3)
161if (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) 196if (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) 493bool horizontal = (ToolStrip.LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow);