910 references to DataGridViewAdvancedCellBorderStyle
PresentationUI (4)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
228
this.rightsTable.AdvancedRowHeadersBorderStyle.Bottom = System.Windows.Forms.
DataGridViewAdvancedCellBorderStyle
.Single;
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (3)
476
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
477
AdvancedCellBorderStyle.Bottom =
DataGridViewAdvancedCellBorderStyle
.Single;
479
AdvancedColumnHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
System.Windows.Forms (442)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (109)
243
private const
DataGridViewAdvancedCellBorderStyle
DefaultAdvancedCellBorderStyle
244
=
DataGridViewAdvancedCellBorderStyle
.Single;
245
private const
DataGridViewAdvancedCellBorderStyle
DefaultAdvancedRowHeadersBorderStyle
246
=
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
247
private const
DataGridViewAdvancedCellBorderStyle
DefaultAdvancedColumnHeadersBorderStyle
248
=
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
425
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
426
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
427
DataGridViewAdvancedCellBorderStyle
.InsetDouble);
503
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
504
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
508
dgvabs.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
512
dgvabs.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
515
dgvabs.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
516
dgvabs.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
517
dgvabs.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
520
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
524
dgvabs.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
528
dgvabs.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
531
dgvabs.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
532
dgvabs.TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
533
dgvabs.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
536
case
DataGridViewAdvancedCellBorderStyle
.NotSet:
539
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.None)
540
|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.None))
546
dgvabs.RightInternal = AdvancedRowHeadersBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble ?
547
DataGridViewAdvancedCellBorderStyle
.Outset : AdvancedRowHeadersBorderStyle.Right;
574
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
575
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
578
LeftInternal = RightToLeftInternal ?
DataGridViewAdvancedCellBorderStyle
.Outset :
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
579
RightInternal = RightToLeftInternal ?
DataGridViewAdvancedCellBorderStyle
.OutsetDouble :
DataGridViewAdvancedCellBorderStyle
.Outset,
580
TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
581
BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset
585
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
588
LeftInternal = RightToLeftInternal ?
DataGridViewAdvancedCellBorderStyle
.Inset :
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
589
RightInternal = RightToLeftInternal ?
DataGridViewAdvancedCellBorderStyle
.InsetDouble :
DataGridViewAdvancedCellBorderStyle
.Inset,
590
TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
591
BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset
595
case
DataGridViewAdvancedCellBorderStyle
.NotSet:
598
if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.None)
599
|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.None))
1156
case
DataGridViewAdvancedCellBorderStyle
.NotSet:
1157
if (AdvancedCellBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.None
1158
&& AdvancedCellBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.None)
1162
if (AdvancedCellBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.None
1163
&& AdvancedCellBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.Single)
1170
if (AdvancedCellBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.None
1171
&& AdvancedCellBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.Single)
1177
if (AdvancedCellBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.Outset
1178
&& AdvancedCellBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.Outset)
1183
if (AdvancedCellBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.Inset
1184
&& AdvancedCellBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.Inset)
1190
if (AdvancedCellBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.None
1191
&& AdvancedCellBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.None)
1193
if (AdvancedCellBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.None
1194
&& AdvancedCellBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.Single)
1199
if (AdvancedCellBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.Outset
1200
&& AdvancedCellBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.Outset)
1205
if (AdvancedCellBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.Inset
1206
&& AdvancedCellBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.Inset)
1214
case
DataGridViewAdvancedCellBorderStyle
.None:
1217
case
DataGridViewAdvancedCellBorderStyle
.Single:
1220
case
DataGridViewAdvancedCellBorderStyle
.Inset:
1223
case
DataGridViewAdvancedCellBorderStyle
.Outset:
1249
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.Single;
1253
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.Outset;
1257
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.Inset;
1261
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1265
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1268
AdvancedCellBorderStyle.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
1272
AdvancedCellBorderStyle.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
1278
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1279
AdvancedCellBorderStyle.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
1280
AdvancedCellBorderStyle.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
1284
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1285
AdvancedCellBorderStyle.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
1286
AdvancedCellBorderStyle.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
1290
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1291
AdvancedCellBorderStyle.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
1295
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1296
AdvancedCellBorderStyle.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
1297
AdvancedCellBorderStyle.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
1301
AdvancedCellBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
1302
AdvancedCellBorderStyle.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
1303
AdvancedCellBorderStyle.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
1442
DataGridViewAdvancedCellBorderStyle
.NotSet => DataGridViewHeaderBorderStyle.Custom,
1443
DataGridViewAdvancedCellBorderStyle
.None => DataGridViewHeaderBorderStyle.None,
1444
DataGridViewAdvancedCellBorderStyle
.Single => DataGridViewHeaderBorderStyle.Single,
1445
DataGridViewAdvancedCellBorderStyle
.InsetDouble => DataGridViewHeaderBorderStyle.Sunken,
1446
DataGridViewAdvancedCellBorderStyle
.OutsetPartial => DataGridViewHeaderBorderStyle.Raised,
1466
AdvancedColumnHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.Single;
1470
AdvancedColumnHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
1474
AdvancedColumnHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
1478
AdvancedColumnHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
3238
DataGridViewAdvancedCellBorderStyle
.NotSet => DataGridViewHeaderBorderStyle.Custom,
3239
DataGridViewAdvancedCellBorderStyle
.None => DataGridViewHeaderBorderStyle.None,
3240
DataGridViewAdvancedCellBorderStyle
.Single => DataGridViewHeaderBorderStyle.Single,
3241
DataGridViewAdvancedCellBorderStyle
.InsetDouble => DataGridViewHeaderBorderStyle.Sunken,
3242
DataGridViewAdvancedCellBorderStyle
.OutsetPartial => DataGridViewHeaderBorderStyle.Raised,
3263
AdvancedRowHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.Single;
3267
AdvancedRowHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
3271
AdvancedRowHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
3275
AdvancedRowHeadersBorderStyle.All =
DataGridViewAdvancedCellBorderStyle
.None;
3957
&& (AdvancedCellBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.Single
3962
&& (AdvancedCellBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.Single
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (72)
105
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
106
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
109
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.None;
112
?
DataGridViewAdvancedCellBorderStyle
.None
113
:
DataGridViewAdvancedCellBorderStyle
.Outset
114
:
DataGridViewAdvancedCellBorderStyle
.None;
120
?
DataGridViewAdvancedCellBorderStyle
.None
121
:
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
122
:
DataGridViewAdvancedCellBorderStyle
.None;
124
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.None;
127
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
128
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
131
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
134
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.None;
137
?
DataGridViewAdvancedCellBorderStyle
.None
138
:
DataGridViewAdvancedCellBorderStyle
.Inset
139
:
DataGridViewAdvancedCellBorderStyle
.None;
145
?
DataGridViewAdvancedCellBorderStyle
.None
146
:
DataGridViewAdvancedCellBorderStyle
.InsetDouble
147
:
DataGridViewAdvancedCellBorderStyle
.None;
149
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.None;
152
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
153
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
156
case
DataGridViewAdvancedCellBorderStyle
.Single:
157
case
DataGridViewAdvancedCellBorderStyle
.Outset:
158
case
DataGridViewAdvancedCellBorderStyle
.Inset:
161
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.None;
162
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.None;
172
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.None;
178
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.None;
191
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
195
?
DataGridViewAdvancedCellBorderStyle
.Outset
196
:
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
199
?
DataGridViewAdvancedCellBorderStyle
.Outset
200
:
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
201
:
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
207
?
DataGridViewAdvancedCellBorderStyle
.Outset
208
:
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
209
:
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
212
?
DataGridViewAdvancedCellBorderStyle
.Outset
213
:
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
216
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
217
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
220
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
223
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
226
?
DataGridViewAdvancedCellBorderStyle
.Outset
227
:
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
228
:
DataGridViewAdvancedCellBorderStyle
.Outset;
234
?
DataGridViewAdvancedCellBorderStyle
.Outset
235
:
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
236
:
DataGridViewAdvancedCellBorderStyle
.Outset;
238
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
241
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
242
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
245
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
248
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
251
?
DataGridViewAdvancedCellBorderStyle
.Inset
252
:
DataGridViewAdvancedCellBorderStyle
.InsetDouble
253
:
DataGridViewAdvancedCellBorderStyle
.Inset;
259
?
DataGridViewAdvancedCellBorderStyle
.Inset
260
:
DataGridViewAdvancedCellBorderStyle
.InsetDouble
261
:
DataGridViewAdvancedCellBorderStyle
.Inset;
263
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
266
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
267
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
270
case
DataGridViewAdvancedCellBorderStyle
.Single:
275
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
276
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.None;
280
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.None;
281
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
284
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
285
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (51)
10
private readonly
DataGridViewAdvancedCellBorderStyle
_banned1;
11
private readonly
DataGridViewAdvancedCellBorderStyle
_banned2;
12
private readonly
DataGridViewAdvancedCellBorderStyle
_banned3;
13
private
DataGridViewAdvancedCellBorderStyle
_top =
DataGridViewAdvancedCellBorderStyle
.None;
14
private
DataGridViewAdvancedCellBorderStyle
_left =
DataGridViewAdvancedCellBorderStyle
.None;
15
private
DataGridViewAdvancedCellBorderStyle
_right =
DataGridViewAdvancedCellBorderStyle
.None;
16
private
DataGridViewAdvancedCellBorderStyle
_bottom =
DataGridViewAdvancedCellBorderStyle
.None;
21
DataGridViewAdvancedCellBorderStyle
.NotSet,
22
DataGridViewAdvancedCellBorderStyle
.NotSet,
23
DataGridViewAdvancedCellBorderStyle
.NotSet)
30
DataGridViewAdvancedCellBorderStyle
.NotSet,
31
DataGridViewAdvancedCellBorderStyle
.NotSet,
32
DataGridViewAdvancedCellBorderStyle
.NotSet)
42
DataGridViewAdvancedCellBorderStyle
banned1,
43
DataGridViewAdvancedCellBorderStyle
banned2,
44
DataGridViewAdvancedCellBorderStyle
banned3)
52
public
DataGridViewAdvancedCellBorderStyle
All
56
return _all ? _top :
DataGridViewAdvancedCellBorderStyle
.NotSet;
62
if (value ==
DataGridViewAdvancedCellBorderStyle
.NotSet ||
79
public
DataGridViewAdvancedCellBorderStyle
Bottom
94
if (value ==
DataGridViewAdvancedCellBorderStyle
.NotSet)
103
internal
DataGridViewAdvancedCellBorderStyle
BottomInternal
111
if (_right ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
113
_right =
DataGridViewAdvancedCellBorderStyle
.Outset;
124
public
DataGridViewAdvancedCellBorderStyle
Left
139
if (value ==
DataGridViewAdvancedCellBorderStyle
.NotSet)
148
internal
DataGridViewAdvancedCellBorderStyle
LeftInternal
155
(value ==
DataGridViewAdvancedCellBorderStyle
.InsetDouble || value ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble))
162
if (_right ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
164
_right =
DataGridViewAdvancedCellBorderStyle
.Outset;
167
if (_bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
169
_bottom =
DataGridViewAdvancedCellBorderStyle
.Outset;
180
public
DataGridViewAdvancedCellBorderStyle
Right
195
if (value ==
DataGridViewAdvancedCellBorderStyle
.NotSet)
204
internal
DataGridViewAdvancedCellBorderStyle
RightInternal
211
(value ==
DataGridViewAdvancedCellBorderStyle
.InsetDouble || value ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble))
218
if (_bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
220
_bottom =
DataGridViewAdvancedCellBorderStyle
.Outset;
231
public
DataGridViewAdvancedCellBorderStyle
Top
241
if (value ==
DataGridViewAdvancedCellBorderStyle
.NotSet)
250
internal
DataGridViewAdvancedCellBorderStyle
TopInternal
258
if (_right ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
260
_right =
DataGridViewAdvancedCellBorderStyle
.Outset;
263
if (_bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
265
_bottom =
DataGridViewAdvancedCellBorderStyle
.Outset;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (115)
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;
793
case
DataGridViewAdvancedCellBorderStyle
.NotSet:
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;
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;
818
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
835
X = (advancedBorderStyle.Left ==
DataGridViewAdvancedCellBorderStyle
.None) ? 0 : 1
837
if (advancedBorderStyle.Left is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
842
rect.Y = (advancedBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.None) ? 0 : 1;
843
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
848
rect.Width = (advancedBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.None) ? 0 : 1;
849
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
854
rect.Height = (advancedBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.None) ? 0 : 1;
855
if (advancedBorderStyle.Bottom is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
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,
3157
DataGridViewAdvancedCellBorderStyle
.Inset => SystemColors.ControlLightLight,
3191
DataGridViewAdvancedCellBorderStyle
.Single => DataGridView.GridPenColor,
3192
DataGridViewAdvancedCellBorderStyle
.Inset => SystemColors.ControlLightLight,
3207
if (advancedBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.None)
3214
case
DataGridViewAdvancedCellBorderStyle
.Single:
3218
case
DataGridViewAdvancedCellBorderStyle
.Inset:
3222
case
DataGridViewAdvancedCellBorderStyle
.Outset:
3226
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
3229
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3230
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3234
else if (advancedBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.None)
3243
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
3246
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3247
DataGridViewAdvancedCellBorderStyle
.None)
3252
if (advancedBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetPartial)
3261
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
3264
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3265
DataGridViewAdvancedCellBorderStyle
.None)
3270
if (advancedBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetPartial)
3282
case
DataGridViewAdvancedCellBorderStyle
.Single:
3286
case
DataGridViewAdvancedCellBorderStyle
.Inset:
3290
case
DataGridViewAdvancedCellBorderStyle
.Outset:
3294
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
3297
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3298
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3302
else if (advancedBorderStyle.Top ==
DataGridViewAdvancedCellBorderStyle
.None)
3311
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
3314
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3315
DataGridViewAdvancedCellBorderStyle
.None)
3320
if (advancedBorderStyle.Bottom ==
DataGridViewAdvancedCellBorderStyle
.OutsetPartial)
3329
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
3332
if (advancedBorderStyle.Top is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3333
DataGridViewAdvancedCellBorderStyle
.None)
3338
if (advancedBorderStyle.Bottom is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3339
DataGridViewAdvancedCellBorderStyle
.Inset)
3352
case
DataGridViewAdvancedCellBorderStyle
.Single:
3356
case
DataGridViewAdvancedCellBorderStyle
.Inset:
3359
if (advancedBorderStyle.Left is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3360
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3365
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.Inset or
3366
DataGridViewAdvancedCellBorderStyle
.Outset)
3374
case
DataGridViewAdvancedCellBorderStyle
.Outset:
3377
if (advancedBorderStyle.Left is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3378
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3383
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.Inset or
3384
DataGridViewAdvancedCellBorderStyle
.Outset)
3392
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
3395
if (advancedBorderStyle.Left !=
DataGridViewAdvancedCellBorderStyle
.None)
3398
if (advancedBorderStyle.Left is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3399
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3405
if (advancedBorderStyle.Right !=
DataGridViewAdvancedCellBorderStyle
.None)
3408
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3409
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3419
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
3421
if (advancedBorderStyle.Left is not
DataGridViewAdvancedCellBorderStyle
.OutsetPartial and
3422
not
DataGridViewAdvancedCellBorderStyle
.None)
3428
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3429
DataGridViewAdvancedCellBorderStyle
.None)
3438
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
3440
if (advancedBorderStyle.Left is not
DataGridViewAdvancedCellBorderStyle
.OutsetPartial and
3441
not
DataGridViewAdvancedCellBorderStyle
.None)
3447
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.OutsetPartial or
3448
DataGridViewAdvancedCellBorderStyle
.None)
3460
case
DataGridViewAdvancedCellBorderStyle
.Single:
3464
case
DataGridViewAdvancedCellBorderStyle
.Inset:
3466
if (advancedBorderStyle.Right ==
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3474
case
DataGridViewAdvancedCellBorderStyle
.Outset:
3477
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.InsetDouble or
3478
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)
3486
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
3489
if (advancedBorderStyle.Left !=
DataGridViewAdvancedCellBorderStyle
.None)
3492
if (advancedBorderStyle.Left is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3493
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
3499
if (advancedBorderStyle.Right !=
DataGridViewAdvancedCellBorderStyle
.None)
3502
if (advancedBorderStyle.Right is
DataGridViewAdvancedCellBorderStyle
.OutsetDouble or
3503
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (8)
1012
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
1013
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
1014
case
DataGridViewAdvancedCellBorderStyle
.Outset:
1043
case
DataGridViewAdvancedCellBorderStyle
.Inset:
1096
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
1097
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
1098
case
DataGridViewAdvancedCellBorderStyle
.Outset:
1127
case
DataGridViewAdvancedCellBorderStyle
.Inset:
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 (82)
366
case
DataGridViewAdvancedCellBorderStyle
.Inset:
369
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
373
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
376
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
377
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
378
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
381
case
DataGridViewAdvancedCellBorderStyle
.Outset:
384
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
388
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
391
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
392
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
393
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
396
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
399
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
403
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
408
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
412
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
415
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
416
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
419
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
422
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
426
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
431
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
435
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
438
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
439
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
442
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
445
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
449
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
454
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
458
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
461
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
462
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
465
case
DataGridViewAdvancedCellBorderStyle
.Single:
468
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
472
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
475
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
476
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
477
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.None;
485
case
DataGridViewAdvancedCellBorderStyle
.Inset:
488
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
489
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
490
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
491
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
497
case
DataGridViewAdvancedCellBorderStyle
.Outset:
500
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
501
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
502
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
503
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
509
case
DataGridViewAdvancedCellBorderStyle
.OutsetPartial:
512
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
513
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
517
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
518
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
523
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridView is not null && DataGridView.ColumnHeadersVisible ?
DataGridViewAdvancedCellBorderStyle
.Outset :
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
527
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
530
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = isLastVisibleRow ?
DataGridViewAdvancedCellBorderStyle
.Outset :
DataGridViewAdvancedCellBorderStyle
.OutsetPartial;
533
case
DataGridViewAdvancedCellBorderStyle
.OutsetDouble:
536
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
537
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
541
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
542
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
547
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridView is not null && DataGridView.ColumnHeadersVisible ?
DataGridViewAdvancedCellBorderStyle
.Outset :
DataGridViewAdvancedCellBorderStyle
.OutsetDouble;
551
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
554
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Outset;
557
case
DataGridViewAdvancedCellBorderStyle
.InsetDouble:
560
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
561
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
565
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
566
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
571
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridView is not null && DataGridView.ColumnHeadersVisible ?
DataGridViewAdvancedCellBorderStyle
.Inset :
DataGridViewAdvancedCellBorderStyle
.InsetDouble;
575
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
578
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Inset;
581
case
DataGridViewAdvancedCellBorderStyle
.Single:
584
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
585
dataGridViewAdvancedBorderStylePlaceholder.TopInternal =
DataGridViewAdvancedCellBorderStyle
.None;
586
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
587
dataGridViewAdvancedBorderStylePlaceholder.RightInternal =
DataGridViewAdvancedCellBorderStyle
.Single;
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (3)
375
if (DataGridView.AdvancedColumnHeadersBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.Inset)
381
else if (DataGridView.AdvancedColumnHeadersBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.Outset)
387
else if (DataGridView.AdvancedColumnHeadersBorderStyle.All ==
DataGridViewAdvancedCellBorderStyle
.InsetDouble)
System.Windows.Forms.Tests (464)
System\Windows\Forms\DataGridViewCellTests.cs (49)
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)]
3073
public void DataGridViewCell_AdjustCellBorderStyle_AllSingleWithoutDataGridView_ReturnsExpected(bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow,
DataGridViewAdvancedCellBorderStyle
expectedLeft,
DataGridViewAdvancedCellBorderStyle
expectedRight,
DataGridViewAdvancedCellBorderStyle
expectedTop,
DataGridViewAdvancedCellBorderStyle
expectedBottom)
3078
All =
DataGridViewAdvancedCellBorderStyle
.Single
3089
[InlineData(
DataGridViewAdvancedCellBorderStyle
.None)]
3090
[InlineData(
DataGridViewAdvancedCellBorderStyle
.Inset)]
3091
[InlineData(
DataGridViewAdvancedCellBorderStyle
.InsetDouble)]
3092
[InlineData(
DataGridViewAdvancedCellBorderStyle
.Outset)]
3093
[InlineData(
DataGridViewAdvancedCellBorderStyle
.OutsetDouble)]
3094
[InlineData(
DataGridViewAdvancedCellBorderStyle
.OutsetPartial)]
3095
public void DataGridViewCell_AdjustCellBorderStyle_InvalidAll_ReturnsExpected(
DataGridViewAdvancedCellBorderStyle
all)
3120
Left =
DataGridViewAdvancedCellBorderStyle
.Single,
3121
Right =
DataGridViewAdvancedCellBorderStyle
.None
3129
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.None } };
3130
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.Inset } };
3131
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.InsetDouble } };
3132
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.Outset } };
3133
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble } };
3134
yield return new object[] { new DataGridViewAdvancedBorderStyle { All =
DataGridViewAdvancedCellBorderStyle
.OutsetPartial } };
3135
yield return new object[] { new DataGridViewAdvancedBorderStyle { Left =
DataGridViewAdvancedCellBorderStyle
.Inset, Right =
DataGridViewAdvancedCellBorderStyle
.Outset } };
3158
All =
DataGridViewAdvancedCellBorderStyle
.OutsetDouble
3166
All =
DataGridViewAdvancedCellBorderStyle
.InsetDouble
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 (415)
3383
true, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, isFirstDisplayedRow, true,
3384
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3390
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, true, true,
3391
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3395
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, false, true,
3396
false,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3400
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, true, true,
3401
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None
3405
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, false, true,
3406
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3410
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, true, true,
3411
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3415
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, false, true,
3416
false,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3424
true, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, isFirstDisplayedRow, true,
3425
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3429
true, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, isFirstDisplayedRow, true,
3430
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3434
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, isFirstDisplayedRow, true,
3435
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3439
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, isFirstDisplayedRow, true,
3440
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3446
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, false, true,
3447
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3451
true, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, true, true,
3452
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.None
3456
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, true, true,
3457
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3461
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, true, true,
3462
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3466
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, true, true,
3467
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3471
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, false, true,
3472
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3480
true, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, isFirstDisplayedRow, true,
3481
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3487
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, true, true,
3488
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3492
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, false, true,
3493
false,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3497
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, true, true,
3498
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None
3502
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, false, true,
3503
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3507
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, true, true,
3508
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3512
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, false, true,
3513
false,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3521
true, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, isFirstDisplayedRow, true,
3522
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3526
true, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, isFirstDisplayedRow, true,
3527
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3531
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, isFirstDisplayedRow, true,
3532
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3536
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, isFirstDisplayedRow, true,
3537
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3543
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, false, true,
3544
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3548
true, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, true, true,
3549
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.None
3553
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, true, true,
3554
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3558
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, true, true,
3559
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3563
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, true, true,
3564
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3568
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, false, true,
3569
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3579
true, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, isFirstDisplayedRow, isLastVisibleRow,
3580
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3584
true, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, isFirstDisplayedRow, isLastVisibleRow,
3585
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3594
true, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, isLastVisibleRow,
3595
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.None,
DataGridViewAdvancedCellBorderStyle
.None
3599
true, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, isLastVisibleRow,
3600
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.None
3606
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, true,
3607
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3611
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, true,
3612
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3616
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, false,
3617
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3621
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, false,
3622
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3626
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, true,
3627
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.Outset
3631
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, true,
3632
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.Outset
3636
false, true, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, false,
3637
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3641
false, true, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, false,
3642
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3646
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, true,
3647
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3651
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, true,
3652
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3656
false, false, RightToLeft.No,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, false,
3657
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3661
false, false, RightToLeft.Yes,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, false,
3662
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
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
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
3716
public void DataGridViewRow_AdjustRowHeaderBorderStyle_InvokeWithDataGridView_ReturnsExpected(bool enableHeadersVisualStyles, bool rowHeadersVisible, RightToLeft rightToLeft,
DataGridViewAdvancedCellBorderStyle
all, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow, bool returnsAdvanced,
DataGridViewAdvancedCellBorderStyle
expectedLeft,
DataGridViewAdvancedCellBorderStyle
expectedRight,
DataGridViewAdvancedCellBorderStyle
expectedTop,
DataGridViewAdvancedCellBorderStyle
expectedBottom)
3753
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, true, true,
3754
true,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3758
DataGridViewAdvancedCellBorderStyle
.Inset, true, true, false, true,
3759
false,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3763
DataGridViewAdvancedCellBorderStyle
.Inset, true, false, true, true,
3764
false,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3770
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, false, true,
3771
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3775
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, false, false, true,
3776
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.Inset
3782
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, true, true,
3783
true,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3787
DataGridViewAdvancedCellBorderStyle
.Outset, true, true, false, true,
3788
false,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3792
DataGridViewAdvancedCellBorderStyle
.Outset, true, false, true, true,
3793
false,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3799
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, false, true,
3800
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3804
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, false, false, true,
3805
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.Outset
3811
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, false, true,
3812
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.Outset
3816
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, false, false, true,
3817
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.Outset
3821
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, false, false, false,
3822
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial,
DataGridViewAdvancedCellBorderStyle
.OutsetPartial
3828
DataGridViewAdvancedCellBorderStyle
.Single, true, true, false, true,
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
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
3851
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, true, true, true,
3852
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3856
DataGridViewAdvancedCellBorderStyle
.InsetDouble, true, false, true, true,
3857
true,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset,
DataGridViewAdvancedCellBorderStyle
.InsetDouble,
DataGridViewAdvancedCellBorderStyle
.Inset
3861
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, true, true, true,
3862
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3866
DataGridViewAdvancedCellBorderStyle
.OutsetDouble, true, false, true, true,
3867
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3871
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, true, true, true,
3872
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3876
DataGridViewAdvancedCellBorderStyle
.OutsetPartial, true, false, true, true,
3877
true,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset,
DataGridViewAdvancedCellBorderStyle
.OutsetDouble,
DataGridViewAdvancedCellBorderStyle
.Outset
3883
public void DataGridViewRow_AdjustRowHeaderBorderStyle_InvokeWithoutDataGridView_ReturnsExpected(
DataGridViewAdvancedCellBorderStyle
all, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow, bool returnsAdvanced,
DataGridViewAdvancedCellBorderStyle
expectedLeft,
DataGridViewAdvancedCellBorderStyle
expectedRight,
DataGridViewAdvancedCellBorderStyle
expectedTop,
DataGridViewAdvancedCellBorderStyle
expectedBottom)