13 references to Bounds
System.Windows.Forms.Tests (11)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (5)
656int expectedWidth = listViewItem1.SubItems[1].Bounds.X - subItem.Bounds.X; 660int expectedHeight = subItem.Bounds.Height; 665Rectangle expectedBounds = new(subItem.Bounds.X, subItem.Bounds.Y, expectedWidth, expectedHeight)
System\Windows\Forms\ListViewSubItemTests.cs (5)
18Assert.Equal(Rectangle.Empty, subItem.Bounds); 45Assert.Equal(Rectangle.Empty, subItem.Bounds); 71Assert.Equal(Rectangle.Empty, subItem.Bounds); 212Assert.Equal(subItem.Bounds, subItem.Bounds);
System\Windows\Forms\ListViewTests.cs (1)
5447Point 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));