Skip to main content
A newer version of this page is available. .

CalendarControlBase.GetHitInfo(MouseEventArgs) Method

Retrieves information on the calendar control element located at a specific point.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual CalendarHitInfo GetHitInfo(
    MouseEventArgs e
)

Parameters

Name Type Description
e MouseEventArgs

An object that comprises the test point coordinates relative to the calendar control’s top-left corner.

Returns

Type Description
CalendarHitInfo

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

Remarks

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

See Also