# C1.Win.C1Input.DateEditMonthCalendar.HitTest

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_DateEditMonthCalendar_HitTest_" data-uid="C1.Win.C1Input.DateEditMonthCalendar.HitTest*">HitTest Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_DateEditMonthCalendar_HitTest_" data-uid="C1.Win.C1Input.DateEditMonthCalendar.HitTest*"></a>
<h4 id="C1_Win_C1Input_DateEditMonthCalendar_HitTest_System_Drawing_Point_" data-uid="C1.Win.C1Input.DateEditMonthCalendar.HitTest(System.Drawing.Point)">HitTest(Point)</h4>
<div class="markdown level1 summary"><p>Returns an object with information on which portion of a month calendar control
is at a location specified by a System.Drawing.Point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public MonthCalendar.HitTestInfo HitTest(Point point)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function HitTest(point As Point) As MonthCalendar.HitTestInfo</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">point</span></td>
      <td><p>A System.Drawing.Point containing the System.Drawing.Point.X and System.Drawing.Point.Y
coordinates of the point to be hit tested.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.monthcalendar">MonthCalendar</a>.<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.monthcalendar.hittestinfo">HitTestInfo</a></td>
      <td><p>A System.Windows.Forms.MonthCalendar.HitTestInfo that contains information
about the specified point on the month calendar.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1Input_DateEditMonthCalendar_HitTest_" data-uid="C1.Win.C1Input.DateEditMonthCalendar.HitTest*"></a>
<h4 id="C1_Win_C1Input_DateEditMonthCalendar_HitTest_System_Int32_System_Int32_" data-uid="C1.Win.C1Input.DateEditMonthCalendar.HitTest(System.Int32,System.Int32)">HitTest(int, int)</h4>
<div class="markdown level1 summary"><p>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.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public MonthCalendar.HitTestInfo HitTest(int x, int y)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function HitTest(x As Integer, y As Integer) As MonthCalendar.HitTestInfo</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The System.Drawing.Point.Y coordinate of the point to be hit tested.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The System.Drawing.Point.X coordinate of the point to be hit tested.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.monthcalendar">MonthCalendar</a>.<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.monthcalendar.hittestinfo">HitTestInfo</a></td>
      <td><p>A System.Windows.Forms.MonthCalendar.HitTestInfo that contains information
about the specified point on the month calendar.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
