3 writes to Left
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewCellTests.cs (3)
3118
Left
= DataGridViewAdvancedCellBorderStyle.Single,
3133
yield return new object[] { new DataGridViewAdvancedBorderStyle {
Left
= DataGridViewAdvancedCellBorderStyle.Inset, Right = DataGridViewAdvancedCellBorderStyle.Outset } };
3180
Left
= DataGridViewAdvancedCellBorderStyle.Single
26 references to Left
System.Windows.Forms (23)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (11)
543
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.None)
549
dgvabs.LeftInternal = AdvancedColumnHeadersBorderStyle.
Left
;
555
dgvabs.LeftInternal = AdvancedRowHeadersBorderStyle.
Left
;
602
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.None)
608
dgvabs.LeftInternal = AdvancedColumnHeadersBorderStyle.
Left
;
613
dgvabs.LeftInternal = AdvancedRowHeadersBorderStyle.
Left
;
1167
&& AdvancedCellBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.Single)
1174
if (AdvancedCellBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.None
1182
&& AdvancedCellBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.Outset)
1188
&& AdvancedCellBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.Inset)
1194
if (AdvancedCellBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.None
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (1)
294
return $"DataGridViewAdvancedBorderStyle {{ All={All}, Left={
Left
}, Right={Right}, Top={Top}, Bottom={Bottom} }}";
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (11)
835
X = (advancedBorderStyle.
Left
== DataGridViewAdvancedCellBorderStyle.None) ? 0 : 1
837
if (advancedBorderStyle.
Left
is DataGridViewAdvancedCellBorderStyle.OutsetDouble or DataGridViewAdvancedCellBorderStyle.InsetDouble)
3210
switch (advancedBorderStyle.
Left
)
3357
if (advancedBorderStyle.
Left
is DataGridViewAdvancedCellBorderStyle.OutsetDouble or
3375
if (advancedBorderStyle.
Left
is DataGridViewAdvancedCellBorderStyle.OutsetDouble or
3393
if (advancedBorderStyle.
Left
!= DataGridViewAdvancedCellBorderStyle.None)
3396
if (advancedBorderStyle.
Left
is DataGridViewAdvancedCellBorderStyle.OutsetDouble or
3419
if (advancedBorderStyle.
Left
is not DataGridViewAdvancedCellBorderStyle.OutsetPartial and
3438
if (advancedBorderStyle.
Left
is not DataGridViewAdvancedCellBorderStyle.OutsetPartial and
3487
if (advancedBorderStyle.
Left
!= DataGridViewAdvancedCellBorderStyle.None)
3490
if (advancedBorderStyle.
Left
is DataGridViewAdvancedCellBorderStyle.OutsetDouble or
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewCellTests.cs (1)
3080
Assert.Equal(expectedLeft, controlAdvancedBorderStylePlaceholder.
Left
);
System\Windows\Forms\DataGridViewRowTests.cs (2)
3740
Assert.Equal(expectedLeft, result.
Left
);
3893
Assert.Equal(expectedLeft, result.
Left
);