8 references to GetItemRect
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
3238
Rectangle iconBounds =
GetItemRect
(lvi.Index, ItemBoundsPortion.Icon);
3567
public Rectangle GetItemRect(int index) =>
GetItemRect
(index, 0);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
970
return _listView.
GetItemRect
(Index, portion);
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
95
Rectangle itemBounds = _listView.
GetItemRect
(index, ItemBoundsPortion.Label);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemImageAccessibleObject.cs (1)
54
internal Rectangle GetImageRectangle() => _owningItem.ListView!.
GetItemRect
(_owningItem.Index, ItemBoundsPortion.Icon);
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
1159
listView.PointToScreen(listView.
GetItemRect
(0, ItemBoundsPortion.Label).Location);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (2)
185
: listView.
GetItemRect
(0, ItemBoundsPortion.Label).Width;
201
: listView.
GetItemRect
(0, ItemBoundsPortion.Label).Width;