25 references to
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
536RowStyle rowStyle = TableLayoutSettings.RowStyles[i]; 558TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;
System\Windows\Forms\Layout\TableLayout.cs (3)
725int constrainingHeight = (int)containerInfo.RowStyles[layoutInfo.RowStart].Size; 1507Debug.Assert(containerInfo.RowStyles[k].SizeType == SizeType.Absolute, $"column {k} is not absolutely sized"); 1512Debug.Assert(containerInfo.RowStyles[k].SizeType == SizeType.Absolute, $"column {k} is not absolutely sized");
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\StyleEditorForm.cs (14)
588RowStyle rowStyle = _tableLayoutPanel.RowStyles[i]; 663UpdateGroupBox(_tableLayoutPanel.RowStyles[index].SizeType, _tableLayoutPanel.RowStyles[index].Height); 679type = _isRowCollection ? _tableLayoutPanel.RowStyles[index].SizeType : _tableLayoutPanel.ColumnStyles[index].SizeType; 680value = _isRowCollection ? _tableLayoutPanel.RowStyles[index].Height : _tableLayoutPanel.ColumnStyles[index].Width; 684if (type != (_isRowCollection ? _tableLayoutPanel.RowStyles[index].SizeType : _tableLayoutPanel.ColumnStyles[index].SizeType)) 690if (value != (_isRowCollection ? _tableLayoutPanel.RowStyles[index].Height : _tableLayoutPanel.ColumnStyles[index].Width)) 910_tableLayoutPanel.RowStyles[index].SizeType = type; 911_tableLayoutPanel.RowStyles[index].Height = value; 971if (_tableLayoutPanel.RowStyles[i].SizeType != SizeType.Percent) 976total += _tableLayoutPanel.RowStyles[i].Height; 999if (_tableLayoutPanel.RowStyles[i].SizeType != SizeType.Percent) 1004_tableLayoutPanel.RowStyles[i].Height = (_tableLayoutPanel.RowStyles[i].Height * 100) / total;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
1142Debug.Assert(Table.RowStyles[i] is not null, $"Table's RowStyle[{i}] is null!"); 1143if (Table.RowStyles[i] is not null) 1145TableLayoutPanelResizeGlyph g = new(gBounds, Table.RowStyles[i], Cursors.HSplit, Behavior); 1608switch (isRow ? Table.RowStyles[_curRow].SizeType : Table.ColumnStyles[_curCol].SizeType) 1989Table.RowStyles[index].Height = rh[index]; 2001Table.RowStyles[index].Height = DesignerUtils.s_minimumStylePercent;