14 references to ListViewHitTestLocations
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListView\ListView.cs (9)
3703
return new ListViewHitTestInfo(hitItem: null, hitSubItem: null, hitLocation:
ListViewHitTestLocations
.None);
3716
ListViewHitTestLocations
location;
3720
location = (
ListViewHitTestLocations
)((MASK_HITTESTFLAG & (int)lvhi.flags) | (int)
ListViewHitTestLocations
.AboveClientArea);
3724
location = (
ListViewHitTestLocations
)((MASK_HITTESTFLAG & (int)lvhi.flags) | (int)
ListViewHitTestLocations
.StateImage);
3728
location = (
ListViewHitTestLocations
)lvhi.flags;
5902
if (lvhti.Location !=
ListViewHitTestLocations
.StateImage)
5910
if (lvhti.Item is not null && lvhti.Location ==
ListViewHitTestLocations
.StateImage)
System\Windows\Forms\Controls\ListView\ListViewHitTestInfo.cs (2)
14
public ListViewHitTestInfo(ListViewItem? hitItem, ListViewItem.ListViewSubItem? hitSubItem,
ListViewHitTestLocations
hitLocation)
24
public
ListViewHitTestLocations
Location { get; }
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewHitTestInfoTests.cs (3)
11
yield return new object[] { null, null,
ListViewHitTestLocations
.None };
12
yield return new object[] { new ListViewItem(), new ListViewItem.ListViewSubItem(),
ListViewHitTestLocations
.None - 1 };
17
public void ListViewHitTestInfo_Ctor_ListViewItem_ListViewSubItem_ListViewHitTestLocations(ListViewItem hitItem, ListViewItem.ListViewSubItem hitSubItem,
ListViewHitTestLocations
hitTestLocations)