Skip to content

GridView.TryGetColumnIndexAt method (1 of 2)

Attempts to find the column index for a mouse event routed by the window input router.

public bool TryGetColumnIndexAt(MouseEventArgs e, out int columnIndex)

GridView.TryGetColumnIndexAt method (2 of 2)

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

Attempts to find the column index at the specified position in this control’s coordinates. Returns true only when the position is over the header or a row area.

public bool TryGetColumnIndexAt(Point position, out int columnIndex)