TableViewHitInfo.HitTest Property
Gets the visual element located under the test object.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
public TableViewHitTest HitTest { get; }
Public ReadOnly Property HitTest As TableViewHitTest
Property Value
Type | Description |
---|---|
TableViewHitTest | A TableViewHitTest 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 TableViewHitTest.FilterPanel, TableViewHitTest.FilterPanelCloseButton, TableViewHitTest.FilterPanelActiveButton or TableViewHitTest.FilterPanelText.
To learn more, see Hit Information.