Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ItemsView.CalcHitInfo(Point) Method

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

Namespace: DevExpress.XtraGrid.Views.Items

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public ItemsViewHitInfo CalcHitInfo(
    Point pt
)

#Parameters

Name Type Description
pt Point

A Point structure that specifies coordinates of the test point.

#Returns

Type Description
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