17 references to GetColumnWidths
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)
525int[] columnWidths = _tableLayoutPanel.GetColumnWidths();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (11)
477colProp?.SetValue(Table, Table.GetColumnWidths().Length); 739int numColumns = Table.GetColumnWidths().Length; 852int[] cw = Table.GetColumnWidths(); 911int[] cw = Table.GetColumnWidths(); 966int[] columns = Table.GetColumnWidths(); 1081int[] cw = Table.GetColumnWidths(); 1203_colCountBeforeAdd = Math.Max(0, Table.GetColumnWidths().Length); 1221int[] columns = Table.GetColumnWidths(); 1268int[] columns = Table.GetColumnWidths(); 1343_colCountBeforeAdd = Math.Max(0, Table.GetColumnWidths().Length); 1963int[] ch = Table.GetColumnWidths();
System.Windows.Forms.Tests (2)
System\Windows\Forms\TableLayoutPanelTests.cs (2)
710Assert.Empty(panel.GetColumnWidths()); 726Assert.Equal(new int[] { 0, 0, 200 }, panel.GetColumnWidths());