MonthCalendar.HitTest Method (Int32, Int32)


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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Public Function HitTest (
	x As Integer,
	y As Integer
) As MonthCalendar.HitTestInfo


Type: System.Int32

The X coordinate of the point to be hit tested.

Type: System.Int32

The Y coordinate of the point to be hit tested.

Return Value

Type: System.Windows.Forms.MonthCalendar.HitTestInfo

A MonthCalendar.HitTestInfo that contains information about the specified point on the MonthCalendar.

.NET Framework
Available since 1.1
Return to top