[]
        
(Showing Draft Content)

C1.Win.C1Input.DateEditMonthCalendar.HitTest

HitTest Method

HitTest(Point)

Returns an object with information on which portion of a month calendar control is at a location specified by a System.Drawing.Point.

Declaration
public MonthCalendar.HitTestInfo HitTest(Point point)
Parameters
Type Name Description
Point point

A System.Drawing.Point containing the System.Drawing.Point.X and System.Drawing.Point.Y coordinates of the point to be hit tested.

Returns
Type Description
MonthCalendar.HitTestInfo

A System.Windows.Forms.MonthCalendar.HitTestInfo that contains information about the specified point on the month calendar.

HitTest(int, int)

Returns a System.Windows.Forms.MonthCalendar.HitTestInfo with information on which portion of a month calendar control is at a specified x- and y-coordinate.

Declaration
public MonthCalendar.HitTestInfo HitTest(int x, int y)
Parameters
Type Name Description
int x

The System.Drawing.Point.Y coordinate of the point to be hit tested.

int y

The System.Drawing.Point.X coordinate of the point to be hit tested.

Returns
Type Description
MonthCalendar.HitTestInfo

A System.Windows.Forms.MonthCalendar.HitTestInfo that contains information about the specified point on the month calendar.