Skip to main content
A newer version of this page is available. .

TileView.CalcHitInfo(Point) Method

Returns the hit info for the target location.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public virtual TileViewHitInfo CalcHitInfo(
    Point pt
)

Parameters

Name Type Description
pt Point

A Point structure that specifies coordinates for which the hit info should be obtained.

Returns

Type Description
DevExpress.XtraGrid.Views.Tile.ViewInfo.TileViewHitInfo

A TileViewHitInfo object that contains hit info for the target location.

Remarks

Use the CalcHitInfo method to get which TileView element is located at the target position.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalcHitInfo(Point) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also