11 references to ItemBoundsPortion
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListView.cs (3)
3238
Rectangle iconBounds = GetItemRect(lvi.Index,
ItemBoundsPortion
.Icon);
3572
public Rectangle GetItemRect(int index,
ItemBoundsPortion
portion)
3632
internal Rectangle GetSubItemRect(int itemIndex, int subItemIndex,
ItemBoundsPortion
portion)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
966
public Rectangle GetBounds(
ItemBoundsPortion
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 (4)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (2)
1159
listView.PointToScreen(listView.GetItemRect(0,
ItemBoundsPortion
.Label).Location);
1207
listView.PointToScreen(listView.GetSubItemRect(itemIndex, subItemIndex,
ItemBoundsPortion
.Label).Location);
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (2)
185
: listView.GetItemRect(0,
ItemBoundsPortion
.Label).Width;
201
: listView.GetItemRect(0,
ItemBoundsPortion
.Label).Width;
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
300
listView.PointToScreen(listView.GetSubItemRect(itemIndex, subItemIndex,
ItemBoundsPortion
.Label).Location);