BaseHitInfo.HitPoint Property
Gets or sets the test point.
Namespace: DevExpress.XtraGrid.Views.Base.ViewInfo
Assembly: DevExpress.XtraGrid.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the HitPoint property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.