FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.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
    'Declaration
     
    Public Overloads Function GetCellAtPosition( _
       ByVal pt As Point _
    ) As ValueTuple(Of GridCellType,GridCellRange)
    public ValueTuple<GridCellType,GridCellRange> GetCellAtPosition( 
       Point pt
    )

    Parameters

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