LayoutViewHitInfo Class
Contains information about a specific point within a Layout View.
Namespace: DevExpress.XtraGrid.Views.Layout.ViewInfo
Assembly: DevExpress.XtraGrid.v18.1.dll
Declaration
Related API Members
The following members accept/return LayoutViewHitInfo objects:
Remarks
LayoutViewHitInfo objects can be created by calling a View’s LayoutView.CalcHitInfo method. This method requires the test point as a parameter.
LayoutViewHitInfo class properties can be grouped into three logical categories:
- properties identifying the View element that contains the test point. For instance, the LayoutViewHitInfo.Column and LayoutViewHitInfo.RowHandle properties identify the column and card whose elements are under the test point;
- properties indicating whether the test point resides over a particular View element. For instance, the LayoutViewHitInfo.InCard property indicates whether the test point is over a card;
- the LayoutViewHitInfo.HitTest property identifying the type of element located under the test point.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the LayoutViewHitInfo class.
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.