BaseHitInfo.HitPoint Property

Gets or sets the test point.

Namespace: DevExpress.XtraGrid.Views.Base.ViewInfo

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public virtual Point HitPoint { get; set; }
Public Overridable Property HitPoint As Point

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