SharpCell.Grid

GridHit

public readonly struct GridHit

Namespace SharpCell.Grid · package SharpCell.Grid

What is under a point of the grid.

Constructors

GridHit(GridPart, CellPosition)

public GridHit(GridPart Part, CellPosition Cell)

What is under a point of the grid.

Parameters

Properties

Cell

public CellPosition Cell { get; init; }

The cell under the point, the top-left cell of a merged area; on a header, the cell a click makes active: the top row on screen in that column, the leftmost column on screen in that row.

Part

public GridPart Part { get; init; }

The part of the grid.