114 references to Single
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
228this.rightsTable.AdvancedRowHeadersBorderStyle.Bottom = System.Windows.Forms.DataGridViewAdvancedCellBorderStyle.Single;
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
477AdvancedCellBorderStyle.Bottom = DataGridViewAdvancedCellBorderStyle.Single;
System.Windows.Forms (52)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (15)
244= DataGridViewAdvancedCellBorderStyle.Single; 1163&& AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.Single) 1171&& AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.Single) 1194&& AdvancedCellBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.Single) 1217case DataGridViewAdvancedCellBorderStyle.Single: 1249AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.Single; 1268AdvancedCellBorderStyle.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single; 1272AdvancedCellBorderStyle.RightInternal = DataGridViewAdvancedCellBorderStyle.Single; 1291AdvancedCellBorderStyle.BottomInternal = DataGridViewAdvancedCellBorderStyle.Single; 1444DataGridViewAdvancedCellBorderStyle.Single => DataGridViewHeaderBorderStyle.Single, 1466AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.Single; 3240DataGridViewAdvancedCellBorderStyle.Single => DataGridViewHeaderBorderStyle.Single, 3263AdvancedRowHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.Single; 3957&& (AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single 3962&& (AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
156case DataGridViewAdvancedCellBorderStyle.Single: 270case DataGridViewAdvancedCellBorderStyle.Single: 275dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single; 281dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.Single; 284dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.Single; 285dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.Single;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (21)
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; 801dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single; 802dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 806dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 807dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.Single; 817dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 818dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.Single; 959bool singleVerticalBorderAdded = !DataGridView.RowHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single; 960bool singleHorizontalBorderAdded = !DataGridView.ColumnHeadersVisible && DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single; 3156DataGridViewAdvancedCellBorderStyle.Single => DataGridView.GridPenColor, 3191DataGridViewAdvancedCellBorderStyle.Single => DataGridView.GridPenColor, 3214case DataGridViewAdvancedCellBorderStyle.Single: 3282case DataGridViewAdvancedCellBorderStyle.Single: 3352case DataGridViewAdvancedCellBorderStyle.Single: 3460case DataGridViewAdvancedCellBorderStyle.Single:
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 (8)
465case DataGridViewAdvancedCellBorderStyle.Single: 468dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.Single; 475dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single; 476dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.Single; 581case DataGridViewAdvancedCellBorderStyle.Single: 584dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.Single; 586dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.Single; 587dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.Single;
System.Windows.Forms.Tests (60)
System\Windows\Forms\DataGridViewCellTests.cs (23)
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)] 3078All = DataGridViewAdvancedCellBorderStyle.Single 3120Left = DataGridViewAdvancedCellBorderStyle.Single, 3174All = DataGridViewAdvancedCellBorderStyle.Single 3182Left = DataGridViewAdvancedCellBorderStyle.Single 3190Right = DataGridViewAdvancedCellBorderStyle.Single 3198Top = DataGridViewAdvancedCellBorderStyle.Single 3206Bottom = DataGridViewAdvancedCellBorderStyle.Single
System\Windows\Forms\DataGridViewRowTests.cs (37)
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 3828DataGridViewAdvancedCellBorderStyle.Single, true, true, false, true, 3829true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.Single 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