Skip to main content
All docs
V26.1
  • ItemsView.CalcHitInfo(Point) Method

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

    Namespace: DevExpress.XtraGrid.Views.Items

    Assembly: DevExpress.XtraGrid.v26.1.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