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

CardViewHitInfo Class

Contains information about the specified element contained within the Card View.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class CardViewHitInfo :
    GridViewHitInfoBase

The following members return CardViewHitInfo objects:

#Remarks

Hit testing allows you to recognize which element is located at the specified screen coordinates. For instance, you may have to determine which part of a Card View a user has clicked or double-clicked. To obtain this information, use the CardView.CalcHitInfo method. This method returns the CardViewHitInfo object whose properties can be grouped into three logical categories:

  • Properties identifying the visual element of a View that contains the test object. For instance, the GridViewHitInfoBase.Column and GridViewHitInfoBase.RowHandle properties identify the column and row whose elements are under the test object;
  • Properties indicating whether the test object resides over a particular View element. For instance, the CardViewHitInfo.InCardHeader property indicates whether the test object is over a card header;
  • The CardViewHitInfo.HitTest property identifies the visual element located under the test object.

    CardViewHitInfo

#Inheritance

Object
DevExpress.Xpf.Core.HitInfoBase<DevExpress.Xpf.Grid.DataViewHitTestVisitorBase>
GridViewHitInfoBase
CardViewHitInfo
See Also