Export (0) Print
Expand All

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 MonthCalendar.HitTestInfo HitTest(
	int x,
	int y
)

Parameters

x
Type: System.Int32

The X coordinate of the point to be hit tested.

y
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft