Back to Devexpress

TileView.CalcHitInfo(Point) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-dot-calchitinfo-x28-system-dot-drawing-dot-point-x29.md

latest1.7 KB
Original Source

TileView.CalcHitInfo(Point) Method

Returns the hit info for the target location.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public virtual TileViewHitInfo CalcHitInfo(
    Point pt
)
vb
Public Overridable Function CalcHitInfo(
    pt As Point
) As TileViewHitInfo

Parameters

NameTypeDescription
ptPoint

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

|

Returns

TypeDescription
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.

See Also

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace