Skip to main content

SchedulerHitInfo.FindHitInfo(SchedulerHitTest) Method

Searches the hit information for the specified type(s) of the element.

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public virtual SchedulerHitInfo FindHitInfo(
    SchedulerHitTest types
)

Parameters

Name Type Description
types SchedulerHitTest

A SchedulerHitTest enumeration value.

Returns

Type Description
SchedulerHitInfo

A SchedulerHitInfo object.

Remarks

The method looks through the SchedulerHitInfo objects located under the cursor from the topmost element to the bottom. When the type of the element equals the type specified as a parameter, the search returns the hit information for that element. If the method fails to find the required type, it returns the empty SchedulerHitInfo object.

You can combine SchedulerHitTest values to search for any of several element types.. To accomplish this, use OR logical operator to join SchedulerHitTest values in expressions.

See Also