8 references to GetItemRect
System.Windows.Forms (5)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
3238Rectangle iconBounds = GetItemRect(lvi.Index, ItemBoundsPortion.Icon); 3567public Rectangle GetItemRect(int index) => GetItemRect(index, 0);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
970return _listView.GetItemRect(Index, portion);
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
95Rectangle itemBounds = _listView.GetItemRect(index, ItemBoundsPortion.Label);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemImageAccessibleObject.cs (1)
54internal Rectangle GetImageRectangle() => _owningItem.ListView!.GetItemRect(_owningItem.Index, ItemBoundsPortion.Icon);
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
1159listView.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;