6 references to BorderWidths
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataGridViewCellTests.cs (6)
3215Assert.Equal(expected, cell.BorderWidths(advancedBorderStyle)); 3228Assert.Equal(new Rectangle(expected.X, expected.Y, expected.Width, expected.Height + 10), cell.BorderWidths(advancedBorderStyle)); 3259Assert.Equal(new Rectangle(expected.X, expected.Y, expected.Width + 10, expected.Height + 11), cell.BorderWidths(advancedBorderStyle)); 3280Assert.Equal(new Rectangle(expected.X + 10, expected.Y, expected.Width, expected.Height + 11), cell.BorderWidths(advancedBorderStyle)); 3296Assert.Equal(new Rectangle(expected.X, expected.Y, expected.Width + 10, expected.Height), cell.BorderWidths(advancedBorderStyle)); 3303Assert.Throws<ArgumentNullException>("advancedBorderStyle", () => cell.BorderWidths(null));