Back to Devexpress

ItemsView.CalcHitInfo(Point) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-items-dot-itemsview-dot-calchitinfo-x28-system-dot-drawing-dot-point-x29.md

latest1.7 KB
Original Source

ItemsView.CalcHitInfo(Point) Method

Returns information about the View elements located at the specified point.

Namespace : DevExpress.XtraGrid.Views.Items

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public ItemsViewHitInfo CalcHitInfo(
    Point pt
)
vb
Public Function CalcHitInfo(
    pt As Point
) As ItemsViewHitInfo

Parameters

NameTypeDescription
ptPoint

A Point structure that specifies coordinates of the test point.

|

Returns

TypeDescription
DevExpress.XtraGrid.Views.Items.ItemsViewHitInfo

An object that contains information on the View elements located at the test point.

|

Remarks

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

See Also

ItemsView Class

ItemsView Members

DevExpress.XtraGrid.Views.Items Namespace