114 references to Single
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
228
this.rightsTable.AdvancedRowHeadersBorderStyle.Bottom = System.Windows.Forms.DataGridViewAdvancedCellBorderStyle.
Single
;
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
477
AdvancedCellBorderStyle.Bottom = DataGridViewAdvancedCellBorderStyle.
Single
;
System.Windows.Forms (52)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (15)
244
= DataGridViewAdvancedCellBorderStyle.
Single
;
1163
&& AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
Single
)
1171
&& AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
Single
)
1194
&& AdvancedCellBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.
Single
)
1217
case DataGridViewAdvancedCellBorderStyle.
Single
:
1249
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
Single
;
1268
AdvancedCellBorderStyle.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
1272
AdvancedCellBorderStyle.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
1291
AdvancedCellBorderStyle.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
1444
DataGridViewAdvancedCellBorderStyle.
Single
=> DataGridViewHeaderBorderStyle.Single,
1466
AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
Single
;
3240
DataGridViewAdvancedCellBorderStyle.
Single
=> DataGridViewHeaderBorderStyle.Single,
3263
AdvancedRowHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
Single
;
3957
&& (AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
3962
&& (AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
156
case DataGridViewAdvancedCellBorderStyle.
Single
:
270
case DataGridViewAdvancedCellBorderStyle.
Single
:
275
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
281
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
284
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
285
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (21)
777
case DataGridViewAdvancedCellBorderStyle.
Single
:
780
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
781
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
785
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
786
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
789
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
790
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
801
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
802
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
806
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
807
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
817
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.
Single
: DataGridViewAdvancedCellBorderStyle.None;
818
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
959
bool singleVerticalBorderAdded = !DataGridView.RowHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
;
960
bool singleHorizontalBorderAdded = !DataGridView.ColumnHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
;
3156
DataGridViewAdvancedCellBorderStyle.
Single
=> DataGridView.GridPenColor,
3191
DataGridViewAdvancedCellBorderStyle.
Single
=> DataGridView.GridPenColor,
3214
case DataGridViewAdvancedCellBorderStyle.
Single
:
3282
case DataGridViewAdvancedCellBorderStyle.
Single
:
3352
case DataGridViewAdvancedCellBorderStyle.
Single
:
3460
case DataGridViewAdvancedCellBorderStyle.
Single
:
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1745
bool singleVerticalBorderAdded = !DataGridView.RowHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
;
1746
bool singleHorizontalBorderAdded = !DataGridView.ColumnHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Single
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (8)
465
case DataGridViewAdvancedCellBorderStyle.
Single
:
468
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
475
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
476
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
581
case DataGridViewAdvancedCellBorderStyle.
Single
:
584
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
586
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
587
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Single
;
System.Windows.Forms.Tests (60)
System\Windows\Forms\DataGridViewCellTests.cs (23)
3068
[InlineData(true, true, true, true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
)]
3069
[InlineData(true, true, false, true, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
)]
3070
[InlineData(false, true, true, true, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
)]
3071
[InlineData(true, true, true, false, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
)]
3072
[InlineData(true, false, true, true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
)]
3078
All = DataGridViewAdvancedCellBorderStyle.
Single
3120
Left = DataGridViewAdvancedCellBorderStyle.
Single
,
3174
All = DataGridViewAdvancedCellBorderStyle.
Single
3182
Left = DataGridViewAdvancedCellBorderStyle.
Single
3190
Right = DataGridViewAdvancedCellBorderStyle.
Single
3198
Top = DataGridViewAdvancedCellBorderStyle.
Single
3206
Bottom = DataGridViewAdvancedCellBorderStyle.
Single
System\Windows\Forms\DataGridViewRowTests.cs (37)
3670
true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, isFirstDisplayedRow, true,
3671
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None
3675
false, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, isFirstDisplayedRow, true,
3676
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
3682
true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, true, true,
3683
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None
3687
true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, false, true,
3688
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None
3692
false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, true, true,
3693
false, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
3697
false, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
Single
, true, true, false, true,
3698
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
3828
DataGridViewAdvancedCellBorderStyle.
Single
, true, true, false, true,
3829
true, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.
Single
3841
DataGridViewAdvancedCellBorderStyle.
Single
, true, true, true, true,
3842
false, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
3846
DataGridViewAdvancedCellBorderStyle.
Single
, true, false, true, true,
3847
false, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single
, DataGridViewAdvancedCellBorderStyle.
Single