96 references to Absolute
PresentationUI (11)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (8)
125this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 162this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 94)); 163this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 335)); 535this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103)); 536this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 283)); 555this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 658this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103)); 659this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 283));
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
160this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F)); 162this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
59this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
System.Windows.Forms (14)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
245_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
503TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute; 551TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.Absolute;
System\Windows\Forms\Layout\TableLayout.cs (8)
159if (containerInfo.MaxColumns == 1 && containerInfo.ColumnStyles.Count > 0 && containerInfo.ColumnStyles[0].SizeType == SizeType.Absolute) 659if (style is not null && style.SizeType == SizeType.Absolute) 1003(index < styles.Count) && styles[index].SizeType == SizeType.Absolute; 1033case SizeType.Absolute: 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"); 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\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
523if (cs.SizeType == SizeType.Absolute) 544if (rs.SizeType == SizeType.Absolute)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
34case SizeType.Absolute:
System.Windows.Forms.Design (33)
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
280if (_styles[rightIndex].SizeType == SizeType.Absolute && 281_styles[leftIndex].SizeType == SizeType.Absolute) 330int absIndex = _styles[rightIndex].SizeType == SizeType.Absolute ? rightIndex : leftIndex;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (10)
297_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 14F)); 299_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 250F)); 314_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); 315_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 16F)); 316_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 91F)); 317_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 12F)); 318_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); 320_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 4F)); 322_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 4F)); 324_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 27F));
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
151_sampleViewTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 423F));
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
586_okCancelTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (3)
145_outerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); 146_outerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); 184_innerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
System\Windows\Forms\Design\StyleEditorForm.cs (6)
556if (type == SizeType.Absolute) 759case SizeType.Absolute: 828member, SizeType.Absolute.ToString(), 926UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value); 952UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value); 1035UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (8)
918Table.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 931Table.RowStyles.Add(new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1595case SizeType.Absolute: 1667Table.RowStyles.Insert(index, new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1679Table.ColumnStyles.Insert(index, new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1970case SizeType.Absolute: 1971styles[index].SizeType = SizeType.Absolute; 2027private void OnAbsoluteClick(object sender, EventArgs e) => ChangeSizeType((bool)((ToolStripMenuItem)sender).Tag, SizeType.Absolute);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
212_tableLayoutPanel.ColumnStyles.Add(new(SizeType.Absolute, 274F));
System.Windows.Forms.Tests (26)
SerializableTypesTests.cs (3)
284tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20)); 285tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 30)); 322Assert.Equal(SizeType.Absolute, result.RowStyles[0].SizeType);
System\Windows\Forms\ColumnStyleTests.cs (1)
30[InlineData(SizeType.Absolute, 1)]
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (4)
52Assert.Equal(SizeType.Absolute, settings.ColumnStyles[1].SizeType); 64Assert.Equal(SizeType.Absolute, settings.RowStyles[1].SizeType); 179settings.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 2)); 181settings.RowStyles.Add(new RowStyle(SizeType.Absolute, 2));
System\Windows\Forms\RowStyleTests.cs (1)
30[InlineData(SizeType.Absolute, 1)]
System\Windows\Forms\TableLayoutPanelTests.cs (11)
1003control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10)); 1006control.RowStyles.Add(new RowStyle(SizeType.Absolute, 5)); 1009control.RowStyles.Add(new RowStyle(SizeType.Absolute, 6)); 1052control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1089control.RowStyles.Add(new RowStyle(SizeType.Absolute, 50)); 1109control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1112control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1517control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10)); 1518control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10)); 1519control.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 10)); 1520control.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 10));
System\Windows\Forms\TableLayoutStyleTests.cs (6)
38[InlineData(SizeType.Absolute, 1)] 70[InlineData(SizeType.Absolute, 1)] 129yield return new object[] { new RowStyle(SizeType.Absolute, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } }; 132yield return new object[] { new ColumnStyle(SizeType.Absolute, 1), typeof(ColumnStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
TestPassApp (6)
ContainerControls2.Designer.cs (6)
141this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 142this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 143this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 25F)); 150this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 151this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 152this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F));
WinFormsControlsTest (6)
DragDrop.Designer.cs (6)
59tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 115F)); 74tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 75tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 76tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 77tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 78tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F));