Skip to main content

BaseHitInfo.HitPoint Property

Gets or sets the test point.

Namespace: DevExpress.XtraGrid.Views.Base.ViewInfo

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public virtual Point HitPoint { get; set; }

Property Value

Type Description
Point

A Point structure representing the test point. The point coordinates are set relative to the grid’s top-left corner.

Remarks

Objects providing information about a point within a View can be obtained using the View’s CalcHitInfo method. The method accepts the test point as its parameter. This point is assigned to the returned object’s HitPoint property.

Note that changing the HitPoint property value doesn’t lead to recalculating the settings of other objects. Thus, you need to call the View’s CalcHitInfo method each time you need to obtain information about a View point.

See Also