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