MonthCalendar.HitTest Method (Int32, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show: