150 references to None
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
476AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 479AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None;
System.Windows.Forms (87)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (23)
539if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.None) 540|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.None)) 598if ((!RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.None) 599|| (RightToLeftInternal && AdvancedColumnHeadersBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.None)) 1157if (AdvancedCellBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.None 1158&& AdvancedCellBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.None) 1162if (AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.None 1170if (AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.None 1190if (AdvancedCellBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.None 1191&& AdvancedCellBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.None) 1193if (AdvancedCellBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.None 1214case DataGridViewAdvancedCellBorderStyle.None: 1261AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1265AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1278AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1284AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1290AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1295AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1301AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 1443DataGridViewAdvancedCellBorderStyle.None => DataGridViewHeaderBorderStyle.None, 1478AdvancedColumnHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None; 3239DataGridViewAdvancedCellBorderStyle.None => DataGridViewHeaderBorderStyle.None, 3275AdvancedRowHeadersBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (18)
109dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None; 112? DataGridViewAdvancedCellBorderStyle.None 114: DataGridViewAdvancedCellBorderStyle.None; 120? DataGridViewAdvancedCellBorderStyle.None 122: DataGridViewAdvancedCellBorderStyle.None; 124dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 134dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None; 137? DataGridViewAdvancedCellBorderStyle.None 139: DataGridViewAdvancedCellBorderStyle.None; 145? DataGridViewAdvancedCellBorderStyle.None 147: DataGridViewAdvancedCellBorderStyle.None; 149dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 161dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None; 162dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 172dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None; 178dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 276dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 280dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None;
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (4)
13private DataGridViewAdvancedCellBorderStyle _top = DataGridViewAdvancedCellBorderStyle.None; 14private DataGridViewAdvancedCellBorderStyle _left = DataGridViewAdvancedCellBorderStyle.None; 15private DataGridViewAdvancedCellBorderStyle _right = DataGridViewAdvancedCellBorderStyle.None; 16private DataGridViewAdvancedCellBorderStyle _bottom = DataGridViewAdvancedCellBorderStyle.None;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (29)
781dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 785dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 789dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 802dataGridViewAdvancedBorderStylePlaceholder.RightInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 806dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = (isFirstDisplayedColumn && singleVerticalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 810dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 811dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 815dataGridViewAdvancedBorderStylePlaceholder.LeftInternal = DataGridViewAdvancedCellBorderStyle.None; 816dataGridViewAdvancedBorderStylePlaceholder.RightInternal = DataGridViewAdvancedCellBorderStyle.None; 817dataGridViewAdvancedBorderStylePlaceholder.TopInternal = (isFirstDisplayedRow && singleHorizontalBorderAdded) ? DataGridViewAdvancedCellBorderStyle.Single : DataGridViewAdvancedCellBorderStyle.None; 835X = (advancedBorderStyle.Left == DataGridViewAdvancedCellBorderStyle.None) ? 0 : 1 842rect.Y = (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.None) ? 0 : 1; 848rect.Width = (advancedBorderStyle.Right == DataGridViewAdvancedCellBorderStyle.None) ? 0 : 1; 854rect.Height = (advancedBorderStyle.Bottom == DataGridViewAdvancedCellBorderStyle.None) ? 0 : 1; 3207if (advancedBorderStyle.All == DataGridViewAdvancedCellBorderStyle.None) 3234else if (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.None) 3247DataGridViewAdvancedCellBorderStyle.None) 3265DataGridViewAdvancedCellBorderStyle.None) 3302else if (advancedBorderStyle.Top == DataGridViewAdvancedCellBorderStyle.None) 3315DataGridViewAdvancedCellBorderStyle.None) 3333DataGridViewAdvancedCellBorderStyle.None) 3395if (advancedBorderStyle.Left != DataGridViewAdvancedCellBorderStyle.None) 3405if (advancedBorderStyle.Right != DataGridViewAdvancedCellBorderStyle.None) 3422not DataGridViewAdvancedCellBorderStyle.None) 3429DataGridViewAdvancedCellBorderStyle.None) 3441not DataGridViewAdvancedCellBorderStyle.None) 3448DataGridViewAdvancedCellBorderStyle.None) 3489if (advancedBorderStyle.Left != DataGridViewAdvancedCellBorderStyle.None) 3499if (advancedBorderStyle.Right != DataGridViewAdvancedCellBorderStyle.None)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (13)
373dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 378dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 388dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 393dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 403dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 416dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 426dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 439dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 449dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 462dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 472dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None; 477dataGridViewAdvancedBorderStylePlaceholder.BottomInternal = DataGridViewAdvancedCellBorderStyle.None; 585dataGridViewAdvancedBorderStylePlaceholder.TopInternal = DataGridViewAdvancedCellBorderStyle.None;
System.Windows.Forms.Tests (61)
System\Windows\Forms\DataGridViewCellTests.cs (7)
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)] 3089[InlineData(DataGridViewAdvancedCellBorderStyle.None)] 3121Right = DataGridViewAdvancedCellBorderStyle.None 3129yield return new object[] { new DataGridViewAdvancedBorderStyle { All = DataGridViewAdvancedCellBorderStyle.None } };
System\Windows\Forms\DataGridViewRowTests.cs (54)
3384true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3401true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None 3406true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3425true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3430true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3447true, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3452true, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.Inset, DataGridViewAdvancedCellBorderStyle.InsetDouble, DataGridViewAdvancedCellBorderStyle.None 3481true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3498true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None 3503true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3522true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3527true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3544true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3549true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.None 3580true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3585true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3595true, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3600true, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.Outset, DataGridViewAdvancedCellBorderStyle.OutsetDouble, DataGridViewAdvancedCellBorderStyle.None 3671true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 3676true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.Single 3683true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None 3688true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None 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 3829true, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.Single, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.Single 3836DataGridViewAdvancedCellBorderStyle.None, true, true, true, true, 3837false, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None, DataGridViewAdvancedCellBorderStyle.None