Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerHitInfo.FindHitInfo(SchedulerHitTest) Method

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

Namespace: DevExpress.XtraScheduler.Drawing

Assembly: DevExpress.XtraScheduler.v24.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