76 references to TableLayoutPanelGrowStyle
PresentationUI (1)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
189
this.tableLayoutPanel1.GrowStyle = System.Windows.Forms.
TableLayoutPanelGrowStyle
.FixedSize;
System.Windows.Forms (15)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
463
TableLayoutSettings.GrowStyle =
TableLayoutPanelGrowStyle
.AddColumns;
510
TableLayoutSettings.GrowStyle =
TableLayoutPanelGrowStyle
.AddRows;
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (3)
34
private
TableLayoutPanelGrowStyle
_growStyle;
47
_growStyle =
TableLayoutPanelGrowStyle
.AddRows;
174
public
TableLayoutPanelGrowStyle
GrowStyle
System\Windows\Forms\Layout\TableLayout.cs (6)
253
TableLayoutPanelGrowStyle
growStyle = containerInfo.GrowStyle;
254
if (growStyle ==
TableLayoutPanelGrowStyle
.FixedSize)
271
else if (growStyle ==
TableLayoutPanelGrowStyle
.AddRows)
318
private static bool xAssignRowsAndColumns(ContainerInfo containerInfo, LayoutInfo[] childrenInfo, int maxColumns, int maxRows,
TableLayoutPanelGrowStyle
growStyle)
454
if (growStyle ==
TableLayoutPanelGrowStyle
.FixedSize)
460
else if (growStyle ==
TableLayoutPanelGrowStyle
.AddRows)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
128
[DefaultValue(
TableLayoutPanelGrowStyle
.AddRows)]
129
public
TableLayoutPanelGrowStyle
GrowStyle
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
182
[DefaultValue(
TableLayoutPanelGrowStyle
.AddRows)]
183
public
TableLayoutPanelGrowStyle
GrowStyle
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (3)
466
if (Table.GrowStyle ==
TableLayoutPanelGrowStyle
.AddRows)
474
else if (Table.GrowStyle ==
TableLayoutPanelGrowStyle
.AddColumns)
722
if (Table.GrowStyle !=
TableLayoutPanelGrowStyle
.FixedSize)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
81
Assert.Equal(
TableLayoutPanelGrowStyle
.AddRows, control.GrowStyle);
System.Windows.Forms.Tests (56)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (7)
22
Assert.Equal(
TableLayoutPanelGrowStyle
.AddRows, settings.GrowStyle);
83
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize, 1)]
84
[InlineData(
TableLayoutPanelGrowStyle
.AddRows, 0)]
85
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns, 1)]
86
public void TableLayoutSettings_GrowStyle_Set_GetReturnsExpected(
TableLayoutPanelGrowStyle
value, int expectedLayoutCallCount)
112
[InvalidEnumData<
TableLayoutPanelGrowStyle
>]
113
public void TableLayoutSettings_GrowStyle_SetInvalid_ThrowsArgumentOutOfRangeException(
TableLayoutPanelGrowStyle
value)
System\Windows\Forms\TableLayoutPanelTests.cs (47)
81
Assert.Equal(
TableLayoutPanelGrowStyle
.AddRows, control.GrowStyle);
374
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize, 1)]
375
[InlineData(
TableLayoutPanelGrowStyle
.AddRows, 0)]
376
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns, 1)]
377
public void TableLayoutPanel_GrowStyle_Set_GetReturnsExpected(
TableLayoutPanelGrowStyle
value, int expectedLayoutCallCount)
402
[InvalidEnumData<
TableLayoutPanelGrowStyle
>]
403
public void TableLayoutPanel_GrowStyle_SetInvalid_ThrowsArgumentOutOfRangeException(
TableLayoutPanelGrowStyle
value)
714
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
715
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
716
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
717
public void TableLayoutPanel_GetColumnWidths_InvokeNoChildren_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
952
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
953
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
954
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
955
public void TableLayoutPanel_GetRowHeights_InvokeNoChildren_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
967
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
968
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
969
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
970
public void TableLayoutPanel_GetRowHeights_CustomAutoSizeStyles_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
990
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
991
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
992
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
993
public void TableLayoutPanel_GetRowHeights_CustomAbsoluteStyles_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1012
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1013
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1014
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1015
public void TableLayoutPanel_GetRowHeights_CustomPercentStyles_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1035
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1036
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1037
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1038
public void TableLayoutPanel_GetRowHeights_CustomStylesPercentOverflow_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1055
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1056
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1057
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1058
public void TableLayoutPanel_GetRowHeights_CustomStylesPercentAutoSize_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1075
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1076
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1077
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1078
public void TableLayoutPanel_GetRowHeights_CustomStylesAbsoluteAutoSize_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1095
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1096
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1097
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1098
public void TableLayoutPanel_GetRowHeights_CustomStylesAbsoluteOverflow_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
1115
[InlineData(
TableLayoutPanelGrowStyle
.FixedSize)]
1116
[InlineData(
TableLayoutPanelGrowStyle
.AddRows)]
1117
[InlineData(
TableLayoutPanelGrowStyle
.AddColumns)]
1118
public void TableLayoutPanel_GetRowHeights_CustomInvalidStyles_ReturnsExpected(
TableLayoutPanelGrowStyle
growStyle)
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3018
Assert.Equal(
TableLayoutPanelGrowStyle
.AddRows, settings.GrowStyle);
System\Windows\Forms\ToolStripTests.cs (1)
4336
Assert.Equal(
TableLayoutPanelGrowStyle
.AddRows, settings.GrowStyle);