5 writes to Row
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPosition.cs (1)
16
Row
= row;
System.Windows.Forms.Tests (4)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
234
settings.SetCellPosition(child, new TableLayoutPanelCellPosition {
Row
= -2 });
244
settings.SetCellPosition(child, new TableLayoutPanelCellPosition {
Row
= -2 });
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
63
Row
= value
System\Windows\Forms\TableLayoutPanelTests.cs (1)
674
control.SetCellPosition(child, new TableLayoutPanelCellPosition {
Row
= -2 });
25 references to Row
System.Windows.Forms (10)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPosition.cs (6)
35
=>
Row
== other.
Row
&& Column == other.Column;
39
return p1.
Row
== p2.
Row
&& p1.Column == p2.Column;
47
public override readonly string ToString() => $"{Column},{
Row
}";
49
public override readonly int GetHashCode() => HashCode.Combine(
Row
, Column);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (3)
70
new object[] { cellPosition.Column, cellPosition.
Row
});
84
(int)propertyValues[nameof(TableLayoutPanelCellPosition.
Row
)]!);
103
return props.Sort([nameof(TableLayoutPanelCellPosition.Column), nameof(TableLayoutPanelCellPosition.
Row
)]);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
368
SetCellPosition(control, cellPosition.
Row
, cellPosition.Column, rowSpecified: true, colSpecified: true);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1051
if ((pos.
Row
== -1) && (pos.Column == -1))
1056
return new Point(pos.Column, pos.
Row
);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (1)
291
position.
Row
.Should().Be(1);
System.Windows.Forms.Tests (12)
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (12)
20
Assert.Equal(0, style.
Row
);
31
Assert.Equal(row, style.
Row
);
65
Assert.Equal(value, style.
Row
);
213
{ nameof(TableLayoutPanelCellPosition.
Row
), 2 }
231
{ nameof(TableLayoutPanelCellPosition.
Row
), new object() },
239
{ nameof(TableLayoutPanelCellPosition.
Row
), null },
255
{ nameof(TableLayoutPanelCellPosition.
Row
), 1 },
263
{ nameof(TableLayoutPanelCellPosition.
Row
), 1 },
271
{ nameof(TableLayoutPanelCellPosition.
Row
), 1 }
291
{ nameof(TableLayoutPanelCellPosition.
Row
), 2 }
302
{ nameof(TableLayoutPanelCellPosition.
Row
), -2 }
320
Assert.Equal(nameof(TableLayoutPanelCellPosition.
Row
), properties[1].Name);