1 write to AdvancedCellBorderStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
428
AdvancedCellBorderStyle
= new DataGridViewAdvancedBorderStyle(this,
58 references to AdvancedCellBorderStyle
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
472
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
473
AdvancedCellBorderStyle
.Bottom = DataGridViewAdvancedCellBorderStyle.Single;
System.Windows.Forms (56)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (43)
434
AdvancedCellBorderStyle
.All = DefaultAdvancedCellBorderStyle;
1158
switch (
AdvancedCellBorderStyle
.All)
1161
if (
AdvancedCellBorderStyle
.Top == DataGridViewAdvancedCellBorderStyle.None
1162
&&
AdvancedCellBorderStyle
.Bottom == DataGridViewAdvancedCellBorderStyle.None)
1166
if (
AdvancedCellBorderStyle
.Right == DataGridViewAdvancedCellBorderStyle.None
1167
&&
AdvancedCellBorderStyle
.Left == DataGridViewAdvancedCellBorderStyle.Single)
1174
if (
AdvancedCellBorderStyle
.Left == DataGridViewAdvancedCellBorderStyle.None
1175
&&
AdvancedCellBorderStyle
.Right == DataGridViewAdvancedCellBorderStyle.Single)
1181
if (
AdvancedCellBorderStyle
.Right == DataGridViewAdvancedCellBorderStyle.Outset
1182
&&
AdvancedCellBorderStyle
.Left == DataGridViewAdvancedCellBorderStyle.Outset)
1187
if (
AdvancedCellBorderStyle
.Right == DataGridViewAdvancedCellBorderStyle.Inset
1188
&&
AdvancedCellBorderStyle
.Left == DataGridViewAdvancedCellBorderStyle.Inset)
1194
if (
AdvancedCellBorderStyle
.Left == DataGridViewAdvancedCellBorderStyle.None
1195
&&
AdvancedCellBorderStyle
.Right == DataGridViewAdvancedCellBorderStyle.None)
1197
if (
AdvancedCellBorderStyle
.Top == DataGridViewAdvancedCellBorderStyle.None
1198
&&
AdvancedCellBorderStyle
.Bottom == DataGridViewAdvancedCellBorderStyle.Single)
1203
if (
AdvancedCellBorderStyle
.Top == DataGridViewAdvancedCellBorderStyle.Outset
1204
&&
AdvancedCellBorderStyle
.Bottom == DataGridViewAdvancedCellBorderStyle.Outset)
1209
if (
AdvancedCellBorderStyle
.Top == DataGridViewAdvancedCellBorderStyle.Inset
1210
&&
AdvancedCellBorderStyle
.Bottom == DataGridViewAdvancedCellBorderStyle.Inset)
1253
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.Single;
1257
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.Outset;
1261
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.Inset;
1265
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1269
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1272
AdvancedCellBorderStyle
.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single;
1276
AdvancedCellBorderStyle
.RightInternal = DataGridViewAdvancedCellBorderStyle.Single;
1282
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1283
AdvancedCellBorderStyle
.RightInternal = DataGridViewAdvancedCellBorderStyle.Outset;
1284
AdvancedCellBorderStyle
.LeftInternal = DataGridViewAdvancedCellBorderStyle.Outset;
1288
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1289
AdvancedCellBorderStyle
.RightInternal = DataGridViewAdvancedCellBorderStyle.Inset;
1290
AdvancedCellBorderStyle
.LeftInternal = DataGridViewAdvancedCellBorderStyle.Inset;
1294
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1295
AdvancedCellBorderStyle
.BottomInternal = DataGridViewAdvancedCellBorderStyle.Single;
1299
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1300
AdvancedCellBorderStyle
.TopInternal = DataGridViewAdvancedCellBorderStyle.Outset;
1301
AdvancedCellBorderStyle
.BottomInternal = DataGridViewAdvancedCellBorderStyle.Outset;
1305
AdvancedCellBorderStyle
.All = DataGridViewAdvancedCellBorderStyle.None;
1306
AdvancedCellBorderStyle
.TopInternal = DataGridViewAdvancedCellBorderStyle.Inset;
1307
AdvancedCellBorderStyle
.BottomInternal = DataGridViewAdvancedCellBorderStyle.Inset;
3950
&& (
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single
3955
&& (
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
11090
if (dgvabs ==
AdvancedCellBorderStyle
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (6)
601
DataGridView.
AdvancedCellBorderStyle
,
794
if (DataGridView is not null && DataGridView.
AdvancedCellBorderStyle
== dataGridViewAdvancedBorderStyleInput)
959
bool singleVerticalBorderAdded = !DataGridView.RowHeadersVisible && DataGridView.
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single;
960
bool singleHorizontalBorderAdded = !DataGridView.ColumnHeadersVisible && DataGridView.
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single;
966
dgvabsEffective = AdjustCellBorderStyle(DataGridView.
AdvancedCellBorderStyle
,
3796
DataGridView.
AdvancedCellBorderStyle
,
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
524
DataGridView.
AdvancedCellBorderStyle
,
1752
bool singleVerticalBorderAdded = !DataGridView.RowHeadersVisible && DataGridView.
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single;
1753
bool singleHorizontalBorderAdded = !DataGridView.ColumnHeadersVisible && DataGridView.
AdvancedCellBorderStyle
.All == DataGridViewAdvancedCellBorderStyle.Single;
1760
DataGridView.
AdvancedCellBorderStyle
,
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
1548
dgvabsEffective = cell.AdjustCellBorderStyle(dataGridView.
AdvancedCellBorderStyle
, dataGridViewAdvancedBorderStylePlaceholder,
1638
dgvabsEffective = cell.AdjustCellBorderStyle(dataGridView.
AdvancedCellBorderStyle
, dataGridViewAdvancedBorderStylePlaceholder,