CardViewHitInfo.HitTest Property

Gets the visual element located under the test object.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public CardViewHitTest HitTest { get; }
Public ReadOnly Property HitTest As CardViewHitTest

Property Value

Type Description
CardViewHitTest

A CardViewHitTest enumeration value that identifies the visual element located under the test object.

Remarks

The HitTest property allows you to identify the type of a visual element located under the test object.

Some visual elements can contain other visual elements. For example, the Filter Panel displays the filter expression, filter and close buttons. In this instance, to identify whether the test object is located within the filter panel, use the GridViewHitInfoBase.InFilterPanel property, because the HitTest property can return CardViewHitTest.FilterPanel, CardViewHitTest.FilterPanelCloseButton, CardViewHitTest.FilterPanelActiveButton or CardViewHitTest.FilterPanelText.

To learn more, see Hit Information.

See Also