ComponentOne MultiSelect for WinForms
C1.Win.C1Input Namespace / DateEditMonthCalendar Class / HitTest Method / HitTest(Int32,Int32) Method
The System.Drawing.Point.Y coordinate of the point to be hit tested.
The System.Drawing.Point.X coordinate of the point to be hit tested.

In This Topic
    HitTest(Int32,Int32) Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Public Overloads Function HitTest( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As MonthCalendar.HitTestInfo
    public MonthCalendar.HitTestInfo HitTest( 
       int x,
       int y
    )

    Parameters

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

    Return Value

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