A newer version of this page is available. Switch to the current version.

TableViewHitInfo.HitTest Property

Gets the visual element located under the test object.

Namespace: DevExpress.Xpf.Grid

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


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

Property Value

Type Description

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


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 TableViewHitTest.FilterPanel, TableViewHitTest.FilterPanelCloseButton, TableViewHitTest.FilterPanelActiveButton or TableViewHitTest.FilterPanelText.

To learn more, see Hit Information.

See Also