47 references to ToolStripLayoutStyle
System.Windows.Forms (47)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validation.cs (2)
519
public static void Validate(System.Windows.Forms.
ToolStripLayoutStyle
enumToValidate, string parameterName = "value")
523
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)
44
private
ToolStripLayoutStyle
_layoutStyle =
ToolStripLayoutStyle
.StackWithOverflow;
829
return (LayoutStyle ==
ToolStripLayoutStyle
.HorizontalStackWithOverflow) ? ToolStripGripDisplayStyle.Vertical
1172
[AmbientValue(
ToolStripLayoutStyle
.StackWithOverflow)]
1173
public
ToolStripLayoutStyle
LayoutStyle
1177
if (_layoutStyle ==
ToolStripLayoutStyle
.StackWithOverflow)
1182
return
ToolStripLayoutStyle
.HorizontalStackWithOverflow;
1184
return
ToolStripLayoutStyle
.VerticalStackWithOverflow;
1200
case
ToolStripLayoutStyle
.Flow:
1209
case
ToolStripLayoutStyle
.Table:
1219
case
ToolStripLayoutStyle
.StackWithOverflow:
1220
case
ToolStripLayoutStyle
.HorizontalStackWithOverflow:
1221
case
ToolStripLayoutStyle
.VerticalStackWithOverflow:
1224
if (value !=
ToolStripLayoutStyle
.StackWithOverflow)
1226
UpdateOrientation((value ==
ToolStripLayoutStyle
.VerticalStackWithOverflow) ? Orientation.Vertical : Orientation.Horizontal);
1434
if (_layoutStyle ==
ToolStripLayoutStyle
.StackWithOverflow)
1767
protected virtual LayoutSettings? CreateLayoutSettings(
ToolStripLayoutStyle
layoutStyle) => layoutStyle switch
1769
ToolStripLayoutStyle
.Flow => new FlowLayoutSettings(this),
1770
ToolStripLayoutStyle
.Table => new TableLayoutSettings(this),
4460
return _layoutStyle !=
ToolStripLayoutStyle
.StackWithOverflow;
4527
if (!IsInToolStripPanel && _layoutStyle !=
ToolStripLayoutStyle
.HorizontalStackWithOverflow && _layoutStyle !=
ToolStripLayoutStyle
.VerticalStackWithOverflow)
4553
if (_layoutStyle is not
ToolStripLayoutStyle
.HorizontalStackWithOverflow and not
ToolStripLayoutStyle
.VerticalStackWithOverflow)
4559
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);