Skip to main content

CalendarControlBase.GetHitInfo(Point) Method

Obtains information on the calendar control’s element located at the specified point.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual CalendarHitInfo GetHitInfo(
    Point location


Name Type Description
location Point

A Point structure which specifies the test point coordinates relative to the calendar control’s top-left corner.


Type Description

A CalendarHitInfo object which comprises information about a specific point in the calendar control.


Use the GetHitInfo method to obtain details on the element located at the specified point in the calendar control. The location parameter should specify the point relative to the control’s top-left corner. Read the CalendarHitInfo.HitTest property of the returned object to identify the type of the visual element located under the test point.

See Also