Skip to main content
A newer version of this page is available. .

CardHitInfo Class

Contains information about a specific point within a Card View.

Namespace: DevExpress.XtraGrid.Views.Card.ViewInfo

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public class CardHitInfo :
    BaseHitInfo

The following members accept/return CardHitInfo objects:

Remarks

CardHitInfo objects can be created by calling the desired View’s CardView.CalcHitInfo method. This method requires the test point as a parameter.

CardHitInfo class properties can be grouped into three logical categories:

  • properties identifying the View element that contains the test point. For instance, the CardHitInfo.Column and CardHitInfo.RowHandle properties identify the column and row whose elements are under the test point;
  • properties indicating whether the test point resides over a particular View element. For instance, the CardHitInfo.InCard property indicates whether the test point is over a card;
  • the CardHitInfo.HitTest property identifying the type of element located under the test point.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CardHitInfo 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.

Inheritance

See Also