콘텐츠로 이동

GridView.TryGetCellIndexAt method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Attempts to find the cell (row/column) indices for a mouse event routed by the window input router.

public bool TryGetCellIndexAt(MouseEventArgs e, out int rowIndex, out int columnIndex,
out bool isHeader)

GridView.TryGetCellIndexAt method (2 of 2)

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

Attempts to find the cell (row/column) indices at the specified position in this control’s coordinates. When the position is over the header, returns true with isHeader set and rowIndex set to -1.

public bool TryGetCellIndexAt(Point position, out int rowIndex, out int columnIndex,
out bool isHeader)