150 references to None
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
476
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
479
AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
System.Windows.Forms (87)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (23)
539
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
None
)
540
|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
None
))
598
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
None
)
599
|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
None
))
1157
if (AdvancedCellBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
None
1158
&& AdvancedCellBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.
None
)
1162
if (AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
None
1170
if (AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
None
1190
if (AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
None
1191
&& AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
None
)
1193
if (AdvancedCellBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
None
1214
case DataGridViewAdvancedCellBorderStyle.
None
:
1261
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1265
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1278
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1284
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1290
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1295
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1301
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
1443
DataGridViewAdvancedCellBorderStyle.
None
=> DataGridViewHeaderBorderStyle.None,
1478
AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
3239
DataGridViewAdvancedCellBorderStyle.
None
=> DataGridViewHeaderBorderStyle.None,
3275
AdvancedRowHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (18)
109
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
112
? DataGridViewAdvancedCellBorderStyle.
None
114
: DataGridViewAdvancedCellBorderStyle.
None
;
120
? DataGridViewAdvancedCellBorderStyle.
None
122
: DataGridViewAdvancedCellBorderStyle.
None
;
124
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
134
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
137
? DataGridViewAdvancedCellBorderStyle.
None
139
: DataGridViewAdvancedCellBorderStyle.
None
;
145
? DataGridViewAdvancedCellBorderStyle.
None
147
: DataGridViewAdvancedCellBorderStyle.
None
;
149
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
161
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
162
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
172
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
178
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
276
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
280
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (4)
13
private DataGridViewAdvancedCellBorderStyle _top = DataGridViewAdvancedCellBorderStyle.
None
;
14
private DataGridViewAdvancedCellBorderStyle _left = DataGridViewAdvancedCellBorderStyle.
None
;
15
private DataGridViewAdvancedCellBorderStyle _right = DataGridViewAdvancedCellBorderStyle.
None
;
16
private DataGridViewAdvancedCellBorderStyle _bottom = DataGridViewAdvancedCellBorderStyle.
None
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (29)
781
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
785
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
789
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
802
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
806
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
810
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
811
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
815
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
None
;
816
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
None
;
817
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.
None
;
835
X = (advancedBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
None
) ? 0 : 1
842
rect.Y = (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
None
) ? 0 : 1;
848
rect.Width = (advancedBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
None
) ? 0 : 1;
854
rect.Height = (advancedBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.
None
) ? 0 : 1;
3207
if (advancedBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
None
)
3234
else if (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
None
)
3247
DataGridViewAdvancedCellBorderStyle.
None
)
3265
DataGridViewAdvancedCellBorderStyle.
None
)
3302
else if (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
None
)
3315
DataGridViewAdvancedCellBorderStyle.
None
)
3333
DataGridViewAdvancedCellBorderStyle.
None
)
3395
if (advancedBorderStyle.Left != DataGridViewAdvancedCellBorderStyle.
None
)
3405
if (advancedBorderStyle.Right != DataGridViewAdvancedCellBorderStyle.
None
)
3422
not DataGridViewAdvancedCellBorderStyle.
None
)
3429
DataGridViewAdvancedCellBorderStyle.
None
)
3441
not DataGridViewAdvancedCellBorderStyle.
None
)
3448
DataGridViewAdvancedCellBorderStyle.
None
)
3489
if (advancedBorderStyle.Left != DataGridViewAdvancedCellBorderStyle.
None
)
3499
if (advancedBorderStyle.Right != DataGridViewAdvancedCellBorderStyle.
None
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (13)
373
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
378
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
388
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
393
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
403
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
416
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
426
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
439
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
449
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
462
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
472
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
477
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
None
;
585
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
None
;
System.Windows.Forms.Tests (61)
System\Windows\Forms\DataGridViewCellTests.cs (7)
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)]
3089
[InlineData(DataGridViewAdvancedCellBorderStyle.
None
)]
3121
Right = DataGridViewAdvancedCellBorderStyle.
None
3129
yield return new object[] { new DataGridViewAdvancedBorderStyle { All = DataGridViewAdvancedCellBorderStyle.
None
} };
System\Windows\Forms\DataGridViewRowTests.cs (54)
3384
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3401
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
3406
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3425
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3430
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3447
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3452
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
None
3481
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3498
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
3503
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3522
true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3527
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3544
true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3549
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.
None
3580
true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3585
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3595
true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3600
true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.
None
3671
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3676
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.Single
3683
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
3688
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3698
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.Single
3704
true, true, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
None
, true, true, true, true,
3705
false, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3709
true, false, RightToLeft.No, DataGridViewAdvancedCellBorderStyle.
None
, true, true, true, true,
3710
false, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
3829
true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.Single
3836
DataGridViewAdvancedCellBorderStyle.
None
, true, true, true, true,
3837
false, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None
, DataGridViewAdvancedCellBorderStyle.
None