Skip to main content

GanttViewHitInfo.HitTest Property

Gets the visual element located under the test object.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.1.dll

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public GanttViewHitTest HitTest { get; }

Property Value

Type Description
DevExpress.Xpf.Gantt.GanttViewHitTest

An 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 task row displays a task, connector, and the task content. In this instance, to identify whether the test object is located within the Gantt item row, use the GanttViewHitInfo.InRow property, because the HitTest property can return GanttViewHitTest.Task, GanttViewHitTest.Connector, or GanttViewHitTest.TaskContent.

See Hit Information for details.

See Also