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