85 references to InsetDouble
System.Windows.Forms (47)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (12)
427
DataGridViewAdvancedCellBorderStyle.
InsetDouble
);
520
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
528
dgvabs.LeftInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
532
dgvabs.TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
585
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
588
LeftInternal = RightToLeftInternal ? DataGridViewAdvancedCellBorderStyle.Inset : DataGridViewAdvancedCellBorderStyle.
InsetDouble
,
589
RightInternal = RightToLeftInternal ? DataGridViewAdvancedCellBorderStyle.
InsetDouble
: DataGridViewAdvancedCellBorderStyle.Inset,
590
TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
,
1445
DataGridViewAdvancedCellBorderStyle.
InsetDouble
=> DataGridViewHeaderBorderStyle.Sunken,
1474
AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
3241
DataGridViewAdvancedCellBorderStyle.
InsetDouble
=> DataGridViewHeaderBorderStyle.Sunken,
3271
AdvancedRowHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
131
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
146
: DataGridViewAdvancedCellBorderStyle.
InsetDouble
152
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
245
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
252
: DataGridViewAdvancedCellBorderStyle.
InsetDouble
260
: DataGridViewAdvancedCellBorderStyle.
InsetDouble
266
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (2)
155
(value == DataGridViewAdvancedCellBorderStyle.
InsetDouble
|| value == DataGridViewAdvancedCellBorderStyle.OutsetDouble))
211
(value == DataGridViewAdvancedCellBorderStyle.
InsetDouble
|| value == DataGridViewAdvancedCellBorderStyle.OutsetDouble))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (17)
837
if (advancedBorderStyle.Left is DataGridViewAdvancedCellBorderStyle.OutsetDouble or DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
843
if (advancedBorderStyle.Top is DataGridViewAdvancedCellBorderStyle.OutsetDouble or DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
849
if (advancedBorderStyle.Right is DataGridViewAdvancedCellBorderStyle.OutsetDouble or DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
855
if (advancedBorderStyle.Bottom is DataGridViewAdvancedCellBorderStyle.OutsetDouble or DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3230
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3261
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
3298
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3329
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
3360
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3378
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3399
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3409
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3438
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
3466
if (advancedBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3477
if (advancedBorderStyle.Right is DataGridViewAdvancedCellBorderStyle.
InsetDouble
or
3493
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
3503
DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (8)
442
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
445
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
458
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
489
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
557
case DataGridViewAdvancedCellBorderStyle.
InsetDouble
:
561
dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
565
dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
571
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridView is not null && DataGridView.ColumnHeadersVisible ? DataGridViewAdvancedCellBorderStyle.Inset : DataGridViewAdvancedCellBorderStyle.
InsetDouble
;
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
387
else if (DataGridView.AdvancedColumnHeadersBorderStyle.All == DataGridViewAdvancedCellBorderStyle.
InsetDouble
)
System.Windows.Forms.Tests (38)
System\Windows\Forms\DataGridViewCellTests.cs (3)
3091
[InlineData(DataGridViewAdvancedCellBorderStyle.
InsetDouble
)]
3131
yield return new object[] { new DataGridViewAdvancedBorderStyle { All = DataGridViewAdvancedCellBorderStyle.
InsetDouble
} };
3166
All = DataGridViewAdvancedCellBorderStyle.
InsetDouble
System\Windows\Forms\DataGridViewRowTests.cs (35)
3391
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
InsetDouble
, DataGridViewAdvancedCellBorderStyle.Inset
3411
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
InsetDouble
, 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,
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
3754
true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.
InsetDouble
, 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
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