Back to Devexpress

GanttView.CalcHitInfo(DependencyObject) Method

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-dot-calchitinfo-x28-system-dot-windows-dot-dependencyobject-x29.md

latest2.1 KB
Original Source

GanttView.CalcHitInfo(DependencyObject) Method

Returns information about the specified element contained within the GanttView.

Namespace : DevExpress.Xpf.Gantt

Assembly : DevExpress.Xpf.Gantt.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public GanttViewHitInfo CalcHitInfo(
    DependencyObject d
)
vb
Public Function CalcHitInfo(
    d As DependencyObject
) As GanttViewHitInfo

Parameters

NameTypeDescription
dDependencyObject

A DependencyObject object that is the element contained within the GanttView.

|

Returns

TypeDescription
GanttViewHitInfo

A GanttViewHitInfo object that contains information about the specified view element.

|

Remarks

The CalcHitInfo method allows you to obtain information about any element contained within the GanttView. This can be useful when it is required to determine which element of a view is located under the test point. The CalcHitInfo method returns a GanttViewHitInfo object that contains the required information (visual element, its location within a view, etc.).

To learn more, see Hit Information.

See Also

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace