[]
Gets the cell at the specified pointer position.
public (GridCellType cellType, GridCellRange range) GetCellAtPosition(RoutedEventArgs e)
Type | Name | Description |
---|---|---|
RoutedEventArgs | e | The pointer event that is used to get the position. |
Type | Description |
---|---|
(GridCellType cellType, GridCellRange range) |
Unlike HitTest(RoutedEventArgs) method, this doesn't intercept cell elements but calculates the position from the model, and it doesn't honor cell-merging.
Gets the cell at the specified pointer position.
public (GridCellType cellType, GridCellRange range) GetCellAtPosition(Point pt)
Type | Name | Description |
---|---|---|
Point | pt | The position. |
Type | Description |
---|---|
(GridCellType cellType, GridCellRange range) |
Unlike HitTest(RoutedEventArgs) method, this doesn't intercept cell elements but calculates the position from the model, and it doesn't honor cell-merging.