24 references to
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
489
ColumnStyle colStyle = TableLayoutSettings.ColumnStyles
[
i];
509
TableLayoutSettings.ColumnStyles
[
i].SizeType = SizeType.AutoSize;
System\Windows\Forms\Layout\TableLayout.cs (2)
1490
Debug.Assert(containerInfo.ColumnStyles
[
k].SizeType == SizeType.Absolute, $"column {k} is not absolutely sized");
1495
Debug.Assert(containerInfo.ColumnStyles
[
k].SizeType == SizeType.Absolute, $"column {k} is not absolutely sized");
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\StyleEditorForm.cs (14)
594
ColumnStyle colStyle = _tableLayoutPanel.ColumnStyles
[
i];
667
UpdateGroupBox(_tableLayoutPanel.ColumnStyles
[
index].SizeType, _tableLayoutPanel.ColumnStyles
[
index].Width);
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))
915
_tableLayoutPanel.ColumnStyles
[
index].SizeType = type;
916
_tableLayoutPanel.ColumnStyles
[
index].Width = value;
980
if (_tableLayoutPanel.ColumnStyles
[
i].SizeType != SizeType.Percent)
985
total += _tableLayoutPanel.ColumnStyles
[
i].Width;
1008
if (_tableLayoutPanel.ColumnStyles
[
i].SizeType != SizeType.Percent)
1013
_tableLayoutPanel.ColumnStyles
[
i].Width = (_tableLayoutPanel.ColumnStyles
[
i].Width * 100) / total;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
1116
Debug.Assert(Table.ColumnStyles
[
i] is not null, "Table's ColumnStyle[" + i + "] is null!");
1117
if (Table.ColumnStyles
[
i] is not null)
1119
TableLayoutPanelResizeGlyph g = new(gBounds, Table.ColumnStyles
[
i], Cursors.VSplit, Behavior);
1608
switch (isRow ? Table.RowStyles[_curRow].SizeType : Table.ColumnStyles
[
_curCol].SizeType)
1993
Table.ColumnStyles
[
index].Width = ch[index];
2005
Table.ColumnStyles
[
index].Width = DesignerUtils.s_minimumStylePercent;