WinUI | ComponentOne
C1.WinUI.Grid Assembly / C1.WinUI.Grid Namespace / FlexGrid Class / GetCellAtPosition Method / GetCellAtPosition(Point) Method
The position.
In This Topic
    GetCellAtPosition(Point) Method
    In This Topic
    Gets the cell at the specified pointer position.
    Syntax
    public ValueTuple<GridCellType,GridCellRange> GetCellAtPosition( 
       Point pt
    )

    Parameters

    pt
    The position.
    Remarks
    Unlike HitTest method, this doesn't intercept cell elements but calculates the position from the model, and it doesn't honor cell-merging.
    See Also