37 references to GetRowHeights
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
109int[] widths = isColumn ? _table.GetColumnWidths() : _table.GetRowHeights(); 261int[] oldWidths = isColumn ? _table.GetColumnWidths() : _table.GetRowHeights(); 363int[] updatedWidths = isColumn ? _table.GetColumnWidths() : _table.GetRowHeights();
System\Windows\Forms\Design\StyleEditorForm.cs (1)
526int[] rowHeights = _tableLayoutPanel.GetRowHeights();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (11)
469rowProp?.SetValue(Table, Table.GetRowHeights().Length); 738int numRows = Table.GetRowHeights().Length; 853int[] rh = Table.GetRowHeights(); 912int[] rh = Table.GetRowHeights(); 965int[] rows = Table.GetRowHeights(); 1082int[] rh = Table.GetRowHeights(); 1202_rowCountBeforeAdd = Math.Max(0, Table.GetRowHeights().Length); // don't want negative 1220int[] rows = Table.GetRowHeights(); 1267int[] rows = Table.GetRowHeights(); 1342_rowCountBeforeAdd = Math.Max(0, Table.GetRowHeights().Length); // don't want negative 1962int[] rh = Table.GetRowHeights();
System.Windows.Forms.Tests (22)
System\Windows\Forms\TableLayoutPanelTests.cs (22)
948Assert.Empty(control.GetRowHeights()); 963Assert.Equal(new int[] { 0, 100 }, control.GetRowHeights()); 980Assert.Equal(new int[] { 0, 80 }, control.GetRowHeights()); 983Assert.Equal(new int[] { 0, 80 }, control.GetRowHeights()); 986Assert.Equal(new int[] { 0, 80 }, control.GetRowHeights()); 1002Assert.Equal(new int[] { 10, 90 }, control.GetRowHeights()); 1005Assert.Equal(new int[] { 10, 90 }, control.GetRowHeights()); 1008Assert.Equal(new int[] { 10, 90 }, control.GetRowHeights()); 1025Assert.Equal(new int[] { 80, 0 }, control.GetRowHeights()); 1028Assert.Equal(new int[] { 32, 48 }, control.GetRowHeights()); 1031Assert.Equal(new int[] { 32, 48 }, control.GetRowHeights()); 1048Assert.Equal(new int[] { 80, 0 }, control.GetRowHeights()); 1051Assert.Equal(new int[] { -20, 100 }, control.GetRowHeights()); 1068Assert.Equal(new int[] { 80, 0 }, control.GetRowHeights()); 1071Assert.Equal(new int[] { 80, 0 }, control.GetRowHeights()); 1088Assert.Equal(new int[] { 50, 30 }, control.GetRowHeights()); 1091Assert.Equal(new int[] { 50, 30 }, control.GetRowHeights()); 1108Assert.Equal(new int[] { 100, 0 }, control.GetRowHeights()); 1111Assert.Equal(new int[] { 100, 100 }, control.GetRowHeights()); 1128Assert.Equal(new int[] { 0, 50 }, control.GetRowHeights()); 1131Assert.Equal(new int[] { 0, 50 }, control.GetRowHeights()); 1134Assert.Equal(new int[] { 0, 50 }, control.GetRowHeights());