47 references to ToolStripLayoutStyle
System.Windows.Forms (47)
_generated\1\Validation.cs (2)
487
public static void Validate(System.Windows.Forms.
ToolStripLayoutStyle
enumToValidate, string parameterName = "value")
491
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
ToolStripLayoutStyle
));
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (7)
33
LayoutStyle =
ToolStripLayoutStyle
.Table;
117
[DefaultValue(
ToolStripLayoutStyle
.Table)]
118
public new
ToolStripLayoutStyle
LayoutStyle
300
if (LayoutStyle ==
ToolStripLayoutStyle
.Table)
341
if (LayoutStyle ==
ToolStripLayoutStyle
.Table)
354
if (LayoutStyle ==
ToolStripLayoutStyle
.Table)
450
if (LayoutStyle ==
ToolStripLayoutStyle
.Table)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (25)
39
private
ToolStripLayoutStyle
_layoutStyle =
ToolStripLayoutStyle
.StackWithOverflow;
824
return (LayoutStyle ==
ToolStripLayoutStyle
.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical
1167
[AmbientValue(
ToolStripLayoutStyle
.StackWithOverflow)]
1168
public
ToolStripLayoutStyle
LayoutStyle
1172
if (_layoutStyle ==
ToolStripLayoutStyle
.StackWithOverflow)
1177
return
ToolStripLayoutStyle
.HorizontalStackWithOverflow;
1179
return
ToolStripLayoutStyle
.VerticalStackWithOverflow;
1195
case
ToolStripLayoutStyle
.Flow:
1204
case
ToolStripLayoutStyle
.Table:
1214
case
ToolStripLayoutStyle
.StackWithOverflow:
1215
case
ToolStripLayoutStyle
.HorizontalStackWithOverflow:
1216
case
ToolStripLayoutStyle
.VerticalStackWithOverflow:
1219
if (value !=
ToolStripLayoutStyle
.StackWithOverflow)
1221
UpdateOrientation((value ==
ToolStripLayoutStyle
.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.Horizontal);
1429
if (_layoutStyle ==
ToolStripLayoutStyle
.StackWithOverflow)
1762
protected virtual LayoutSettings? CreateLayoutSettings(
ToolStripLayoutStyle
layoutStyle) => layoutStyle switch
1764
ToolStripLayoutStyle
.Flow => new FlowLayoutSettings(this),
1765
ToolStripLayoutStyle
.Table => new TableLayoutSettings(this),
4455
return _layoutStyle !=
ToolStripLayoutStyle
.StackWithOverflow;
4522
if (!IsInToolStripPanel && _layoutStyle !=
ToolStripLayoutStyle
.HorizontalStackWithOverflow && _layoutStyle !=
ToolStripLayoutStyle
.VerticalStackWithOverflow)
4548
if (_layoutStyle is not
ToolStripLayoutStyle
.HorizontalStackWithOverflow and not
ToolStripLayoutStyle
.VerticalStackWithOverflow)
4554
if (LayoutEngine is ToolStripSplitStackLayout && _layoutStyle ==
ToolStripLayoutStyle
.StackWithOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
921
protected override LayoutSettings? CreateLayoutSettings(
ToolStripLayoutStyle
style)
925
if (style ==
ToolStripLayoutStyle
.Flow)
1094
LayoutStyle =
ToolStripLayoutStyle
.Flow;
1302
if (LayoutStyle ==
ToolStripLayoutStyle
.Flow)
1879
return LayoutStyle !=
ToolStripLayoutStyle
.VerticalStackWithOverflow;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
143
[DefaultValue(
ToolStripLayoutStyle
.Flow)]
144
public new
ToolStripLayoutStyle
LayoutStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
80
if (ParentInternal.LayoutStyle ==
ToolStripLayoutStyle
.VerticalStackWithOverflow)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripLayoutData.cs (1)
14
private readonly
ToolStripLayoutStyle
_layoutStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
185
ToolStripLayoutStyle
.VerticalStackWithOverflow => false,
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (3)
161
if (ToolStrip.LayoutStyle ==
ToolStripLayoutStyle
.HorizontalStackWithOverflow)
196
if (ToolStrip.LayoutStyle ==
ToolStripLayoutStyle
.HorizontalStackWithOverflow)
493
bool horizontal = (ToolStrip.LayoutStyle ==
ToolStripLayoutStyle
.HorizontalStackWithOverflow);