Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewHitInfo Class

Contains information about a specific point within a Layout View.

Namespace: DevExpress.XtraGrid.Views.Layout.ViewInfo

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public class LayoutViewHitInfo :
    BaseHitInfo

The following members 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.

#Inheritance

Object
BaseHitInfo
LayoutViewHitInfo
See Also