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