129 references to Inset
System.Windows.Forms (53)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (16)
524
dgvabs.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
531
dgvabs.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
533
dgvabs.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
588
LeftInternal = RightToLeftInternal ? DataGridViewAdvancedCellBorderStyle.
Inset
: DataGridViewAdvancedCellBorderStyle.InsetDouble,
589
RightInternal = RightToLeftInternal ? DataGridViewAdvancedCellBorderStyle.InsetDouble : DataGridViewAdvancedCellBorderStyle.
Inset
,
591
BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
1183
if (AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
Inset
1184
&& AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.
Inset
)
1205
if (AdvancedCellBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.
Inset
1206
&& AdvancedCellBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.
Inset
)
1220
case DataGridViewAdvancedCellBorderStyle.
Inset
:
1257
AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
Inset
;
1285
AdvancedCellBorderStyle.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
1286
AdvancedCellBorderStyle.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
1302
AdvancedCellBorderStyle.TopInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
1303
AdvancedCellBorderStyle.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
138
: DataGridViewAdvancedCellBorderStyle.
Inset
153
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
158
case DataGridViewAdvancedCellBorderStyle.
Inset
:
248
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
251
? DataGridViewAdvancedCellBorderStyle.
Inset
253
: DataGridViewAdvancedCellBorderStyle.
Inset
;
259
? DataGridViewAdvancedCellBorderStyle.
Inset
261
: DataGridViewAdvancedCellBorderStyle.
Inset
;
263
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
267
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (9)
3157
DataGridViewAdvancedCellBorderStyle.
Inset
=> SystemColors.ControlLightLight,
3192
DataGridViewAdvancedCellBorderStyle.
Inset
=> SystemColors.ControlLightLight,
3218
case DataGridViewAdvancedCellBorderStyle.
Inset
:
3286
case DataGridViewAdvancedCellBorderStyle.
Inset
:
3339
DataGridViewAdvancedCellBorderStyle.
Inset
)
3356
case DataGridViewAdvancedCellBorderStyle.
Inset
:
3365
if (advancedBorderStyle.Right is DataGridViewAdvancedCellBorderStyle.
Inset
or
3383
if (advancedBorderStyle.Right is DataGridViewAdvancedCellBorderStyle.
Inset
or
3464
case DataGridViewAdvancedCellBorderStyle.
Inset
:
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (2)
1043
case DataGridViewAdvancedCellBorderStyle.
Inset
:
1127
case DataGridViewAdvancedCellBorderStyle.
Inset
:
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (15)
366
case DataGridViewAdvancedCellBorderStyle.
Inset
:
369
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
376
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
377
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
454
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
461
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
485
case DataGridViewAdvancedCellBorderStyle.
Inset
:
488
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
490
dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
491
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
560
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
Inset
;
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
;
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
375
if (DataGridView.AdvancedColumnHeadersBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
Inset
)
System.Windows.Forms.Tests (76)
System\Windows\Forms\DataGridViewCellTests.cs (3)
3090
[InlineData(DataGridViewAdvancedCellBorderStyle.
Inset
)]
3130
yield return new object[] { new DataGridViewAdvancedBorderStyle { All = DataGridViewAdvancedCellBorderStyle.
Inset
} };
3135
yield return new object[] { new DataGridViewAdvancedBorderStyle { Left = DataGridViewAdvancedCellBorderStyle.
Inset
, Right = DataGridViewAdvancedCellBorderStyle.Outset } };
System\Windows\Forms\DataGridViewRowTests.cs (73)
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
3425
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None
3430
true, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None
3435
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
3440
true, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
3447
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None
3452
true, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.None
3457
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
3462
true, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
3467
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
3472
true, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
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
3771
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
3776
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.
Inset
3852
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
3857
true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset
, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.
Inset