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