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

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.v18.2.dll

Declaration

public bool InCardCaption { get; }

Property Value

Type Description
Boolean

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

Remarks

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