CardHitInfo.InCardCaption Property

Gets a value indicating whether the test point is within a card caption.

Namespace: DevExpress.XtraGrid.Views.Card.ViewInfo

Assembly: DevExpress.XtraGrid.v20.2.dll


public bool InCardCaption { get; }
Public ReadOnly Property InCardCaption As Boolean

Property Value

Type Description

true if the test point is within a card caption; otherwise, false.


The InCardCaption property is useful if it's not necessary to determine the exact element residing under the test point and only whether the point is within a card caption. For instance, this property can be used to provide a common context menu for card captions regardless of which particular card element has been right-clicked. To obtain the specific element located under the test point, use the CardHitInfo.HitTest property.

See Also