96 references to Absolute
PresentationUI (11)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (8)
125
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 20F));
162
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 94));
163
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 335));
535
this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 103));
536
this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 283));
555
this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 20F));
658
this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 103));
659
this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 283));
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
160
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 10F));
162
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 10F));
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
59
this.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)
503
TableLayoutSettings.RowStyles[0].SizeType = SizeType.
Absolute
;
551
TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.
Absolute
;
System\Windows\Forms\Layout\TableLayout.cs (8)
159
if (containerInfo.MaxColumns == 1 && containerInfo.ColumnStyles.Count > 0 && containerInfo.ColumnStyles[0].SizeType == SizeType.
Absolute
)
659
if (style is not null && style.SizeType == SizeType.
Absolute
)
1003
(index < styles.Count) && styles[index].SizeType == SizeType.
Absolute
;
1033
case SizeType.
Absolute
:
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");
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\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
523
if (cs.SizeType == SizeType.
Absolute
)
544
if (rs.SizeType == SizeType.
Absolute
)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
34
case SizeType.
Absolute
:
System.Windows.Forms.Design (33)
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (3)
280
if (_styles[rightIndex].SizeType == SizeType.
Absolute
&&
281
_styles[leftIndex].SizeType == SizeType.
Absolute
)
330
int 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)
556
if (type == SizeType.
Absolute
)
759
case SizeType.
Absolute
:
828
member, SizeType.
Absolute
.ToString(),
926
UpdateTypeAndValue(SizeType.
Absolute
, (float)_absoluteNumericUpDown.Value);
952
UpdateTypeAndValue(SizeType.
Absolute
, (float)_absoluteNumericUpDown.Value);
1035
UpdateTypeAndValue(SizeType.
Absolute
, (float)_absoluteNumericUpDown.Value);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (8)
918
Table.ColumnStyles.Add(new ColumnStyle(SizeType.
Absolute
, DesignerUtils.s_minimumStyleSize));
931
Table.RowStyles.Add(new RowStyle(SizeType.
Absolute
, DesignerUtils.s_minimumStyleSize));
1595
case SizeType.
Absolute
:
1667
Table.RowStyles.Insert(index, new RowStyle(SizeType.
Absolute
, DesignerUtils.s_minimumStyleSize));
1679
Table.ColumnStyles.Insert(index, new ColumnStyle(SizeType.
Absolute
, DesignerUtils.s_minimumStyleSize));
1970
case SizeType.
Absolute
:
1971
styles[index].SizeType = SizeType.
Absolute
;
2027
private 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)
284
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 20));
285
tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 30));
322
Assert.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)
52
Assert.Equal(SizeType.
Absolute
, settings.ColumnStyles[1].SizeType);
64
Assert.Equal(SizeType.
Absolute
, settings.RowStyles[1].SizeType);
179
settings.ColumnStyles.Add(new ColumnStyle(SizeType.
Absolute
, 2));
181
settings.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 2));
System\Windows\Forms\RowStyleTests.cs (1)
30
[InlineData(SizeType.
Absolute
, 1)]
System\Windows\Forms\TableLayoutPanelTests.cs (11)
1003
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 10));
1006
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 5));
1009
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 6));
1052
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 100));
1089
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 50));
1109
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 100));
1112
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 100));
1517
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 10));
1518
control.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 10));
1519
control.ColumnStyles.Add(new ColumnStyle(SizeType.
Absolute
, 10));
1520
control.ColumnStyles.Add(new ColumnStyle(SizeType.
Absolute
, 10));
System\Windows\Forms\TableLayoutStyleTests.cs (6)
38
[InlineData(SizeType.
Absolute
, 1)]
70
[InlineData(SizeType.
Absolute
, 1)]
129
yield return new object[] { new RowStyle(SizeType.
Absolute
, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.
Absolute
, 1f } };
132
yield 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)
141
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 23F));
142
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 23F));
143
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.
Absolute
, 25F));
150
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 23F));
151
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 23F));
152
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.
Absolute
, 23F));
WinFormsControlsTest (6)
DragDrop.Designer.cs (6)
59
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.
Absolute
, 115F));
74
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 112F));
75
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 112F));
76
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 112F));
77
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 112F));
78
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.
Absolute
, 112F));