37 references to Bounds
System.Windows.Forms (14)
System\Windows\Forms\Controls\ListView\ListView.cs (5)
3232Rectangle itemBounds = lvi.Bounds; 4999Rectangle rectInvalid = Items[startIndex].Bounds; 5002rectInvalid = Rectangle.Union(rectInvalid, Items[index].Bounds); 5007rectInvalid = Rectangle.Union(rectInvalid, Items[startIndex - 1].Bounds); 5018rectInvalid = Rectangle.Union(rectInvalid, Items[endIndex + 1].Bounds);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
955Rectangle r = Bounds;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (4)
43_owningListView.AccessibilityObject.Bounds.X + _owningItem.Bounds.X, 44_owningListView.AccessibilityObject.Bounds.Y + _owningItem.Bounds.Y, 45_owningItem.Bounds.Width, 46_owningItem.Bounds.Height);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemListAccessibleObject.cs (4)
21_owningListView.AccessibilityObject.Bounds.X + _owningItem.Bounds.X, 22_owningListView.AccessibilityObject.Bounds.Y + _owningItem.Bounds.Y, 23_owningItem.Bounds.Width, 24_owningItem.Bounds.Height);
System.Windows.Forms.Tests (22)
System\Windows\Forms\ListViewItemTests.cs (22)
17Assert.Equal(Rectangle.Empty, item.Bounds); 56Assert.Equal(Rectangle.Empty, item.Bounds); 94Assert.Equal(Rectangle.Empty, item.Bounds); 132Assert.Equal(Rectangle.Empty, item.Bounds); 170Assert.Equal(Rectangle.Empty, item.Bounds); 207Assert.Equal(Rectangle.Empty, item.Bounds); 244Assert.Equal(Rectangle.Empty, item.Bounds); 282Assert.Equal(Rectangle.Empty, item.Bounds); 320Assert.Equal(Rectangle.Empty, item.Bounds); 357Assert.Equal(Rectangle.Empty, item.Bounds); 395Assert.Equal(Rectangle.Empty, item.Bounds); 433Assert.Equal(Rectangle.Empty, item.Bounds); 470Assert.Equal(Rectangle.Empty, item.Bounds); 508Assert.Equal(Rectangle.Empty, item.Bounds); 546Assert.Equal(Rectangle.Empty, item.Bounds); 584Assert.Equal(Rectangle.Empty, item.Bounds); 621Assert.Equal(Rectangle.Empty, item.Bounds); 659Assert.Equal(Rectangle.Empty, item.Bounds); 697Assert.Equal(Rectangle.Empty, item.Bounds); 734Assert.Equal(Rectangle.Empty, item.Bounds); 773Assert.Equal(Rectangle.Empty, item.Bounds); 803Assert.Equal(Rectangle.Empty, item.Bounds);
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
32Point itemCenter = GetCenter(listView.RectangleToScreen(listView.Items[0].Bounds));