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