Skip to content

GridView.TryGetItemIndexAt method (1 of 2)

Attempts to find the item (row) index for a mouse event routed by the window input router.

public bool TryGetItemIndexAt(MouseEventArgs e, out int index)

GridView.TryGetItemIndexAt method (2 of 2)

Section titled “GridView.TryGetItemIndexAt method (2 of 2)”

Attempts to find the item (row) index at the specified position in this control’s coordinates.

public bool TryGetItemIndexAt(Point position, out int index)