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