47 references to ToolStripLayoutStyle
System.Windows.Forms (47)
_generated\1\Validation.cs (2)
487public static void Validate(System.Windows.Forms.ToolStripLayoutStyle enumToValidate, string parameterName = "value") 491ReportEnumValidationError(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)
39private ToolStripLayoutStyle _layoutStyle = ToolStripLayoutStyle.StackWithOverflow; 824return (LayoutStyle == ToolStripLayoutStyle.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical 1167[AmbientValue(ToolStripLayoutStyle.StackWithOverflow)] 1168public ToolStripLayoutStyle LayoutStyle 1172if (_layoutStyle == ToolStripLayoutStyle.StackWithOverflow) 1177return ToolStripLayoutStyle.HorizontalStackWithOverflow; 1179return ToolStripLayoutStyle.VerticalStackWithOverflow; 1195case ToolStripLayoutStyle.Flow: 1204case ToolStripLayoutStyle.Table: 1214case ToolStripLayoutStyle.StackWithOverflow: 1215case ToolStripLayoutStyle.HorizontalStackWithOverflow: 1216case ToolStripLayoutStyle.VerticalStackWithOverflow: 1219if (value != ToolStripLayoutStyle.StackWithOverflow) 1221UpdateOrientation((value == ToolStripLayoutStyle.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.Horizontal); 1429if (_layoutStyle == ToolStripLayoutStyle.StackWithOverflow) 1762protected virtual LayoutSettings? CreateLayoutSettings(ToolStripLayoutStyle layoutStyle) => layoutStyle switch 1764ToolStripLayoutStyle.Flow => new FlowLayoutSettings(this), 1765ToolStripLayoutStyle.Table => new TableLayoutSettings(this), 4455return _layoutStyle != ToolStripLayoutStyle.StackWithOverflow; 4522if (!IsInToolStripPanel && _layoutStyle != ToolStripLayoutStyle.HorizontalStackWithOverflow && _layoutStyle != ToolStripLayoutStyle.VerticalStackWithOverflow) 4548if (_layoutStyle is not ToolStripLayoutStyle.HorizontalStackWithOverflow and not ToolStripLayoutStyle.VerticalStackWithOverflow) 4554if (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);