FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / GetCellAtPosition Method / GetCellAtPosition(RoutedEventArgs) Method
The pointer event that is used to get the position.

In This Topic
    GetCellAtPosition(RoutedEventArgs) Method
    In This Topic
    Gets the cell at the specified pointer position.
    Syntax
    'Declaration
     
    Public Overloads Function GetCellAtPosition( _
       ByVal e As RoutedEventArgs _
    ) As ValueTuple(Of GridCellType,GridCellRange)
    public ValueTuple<GridCellType,GridCellRange> GetCellAtPosition( 
       RoutedEventArgs e
    )

    Parameters

    e
    The pointer event that is used to get 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