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