BrightIdeasSoftware.ObjectListView.HitTest C# (CSharp) Method

HitTest() public method

Calculate what item is under the given point?
public HitTest ( int x, int y ) : ListViewHitTestInfo
x int
y int
return ListViewHitTestInfo
        public new ListViewHitTestInfo HitTest(int x, int y)
        {
            // Everything costs something. Playing with the layout of the header can cause problems
            // with the hit testing. If the header shrinks, the underlying control can throw a tantrum.
            try {
                return base.HitTest(x, y);
            } catch (ArgumentOutOfRangeException) {
                return new ListViewHitTestInfo(null, null, ListViewHitTestLocations.None);
            }
        }
ObjectListView