13 references to Bounds
System.Windows.Forms.Tests (11)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (5)
658int expectedWidth = listViewItem1.SubItems[1].Bounds.X - subItem.Bounds.X; 662int expectedHeight = subItem.Bounds.Height; 667Rectangle expectedBounds = new(subItem.Bounds.X, subItem.Bounds.Y, expectedWidth, expectedHeight)
System\Windows\Forms\ListViewSubItemTests.cs (5)
20Assert.Equal(Rectangle.Empty, subItem.Bounds); 46Assert.Equal(Rectangle.Empty, subItem.Bounds); 72Assert.Equal(Rectangle.Empty, subItem.Bounds); 213Assert.Equal(subItem.Bounds, subItem.Bounds);
System\Windows\Forms\ListViewTests.cs (1)
5449Point subItemLocation = listView.Items[0].SubItems[subItemIndex].Bounds.Location + new Size(1, 1);
System.Windows.Forms.UI.IntegrationTests (2)
ListViewTests.cs (2)
494Point listViewCenter = GetCenter(listView.RectangleToScreen(listView.Items[0].SubItems[1].Bounds)); 500listViewCenter = GetCenter(listView.RectangleToScreen(listView.Items[2].SubItems[1].Bounds));