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