37 references to Bounds
System.Windows.Forms (14)
System\Windows\Forms\Controls\ListView\ListView.cs (5)
3232
Rectangle itemBounds = lvi.
Bounds
;
4999
Rectangle rectInvalid = Items[startIndex].
Bounds
;
5002
rectInvalid = Rectangle.Union(rectInvalid, Items[index].
Bounds
);
5007
rectInvalid = Rectangle.Union(rectInvalid, Items[startIndex - 1].
Bounds
);
5018
rectInvalid = Rectangle.Union(rectInvalid, Items[endIndex + 1].
Bounds
);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
955
Rectangle 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)
17
Assert.Equal(Rectangle.Empty, item.
Bounds
);
56
Assert.Equal(Rectangle.Empty, item.
Bounds
);
94
Assert.Equal(Rectangle.Empty, item.
Bounds
);
132
Assert.Equal(Rectangle.Empty, item.
Bounds
);
170
Assert.Equal(Rectangle.Empty, item.
Bounds
);
207
Assert.Equal(Rectangle.Empty, item.
Bounds
);
244
Assert.Equal(Rectangle.Empty, item.
Bounds
);
282
Assert.Equal(Rectangle.Empty, item.
Bounds
);
320
Assert.Equal(Rectangle.Empty, item.
Bounds
);
357
Assert.Equal(Rectangle.Empty, item.
Bounds
);
395
Assert.Equal(Rectangle.Empty, item.
Bounds
);
433
Assert.Equal(Rectangle.Empty, item.
Bounds
);
470
Assert.Equal(Rectangle.Empty, item.
Bounds
);
508
Assert.Equal(Rectangle.Empty, item.
Bounds
);
546
Assert.Equal(Rectangle.Empty, item.
Bounds
);
584
Assert.Equal(Rectangle.Empty, item.
Bounds
);
621
Assert.Equal(Rectangle.Empty, item.
Bounds
);
659
Assert.Equal(Rectangle.Empty, item.
Bounds
);
697
Assert.Equal(Rectangle.Empty, item.
Bounds
);
734
Assert.Equal(Rectangle.Empty, item.
Bounds
);
773
Assert.Equal(Rectangle.Empty, item.
Bounds
);
803
Assert.Equal(Rectangle.Empty, item.
Bounds
);
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
32
Point itemCenter = GetCenter(listView.RectangleToScreen(listView.Items[0].
Bounds
));