# C1.Win.Schedule.C1Schedule.ShowDates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Schedule_C1Schedule_ShowDates_" data-uid="C1.Win.Schedule.C1Schedule.ShowDates*">ShowDates Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Schedule_C1Schedule_ShowDates_" data-uid="C1.Win.Schedule.C1Schedule.ShowDates*"></a>
<h4 id="C1_Win_Schedule_C1Schedule_ShowDates_System_DateTime___" data-uid="C1.Win.Schedule.C1Schedule.ShowDates(System.DateTime[])">ShowDates(DateTime[])</h4>
<div class="markdown level1 summary"><p>Shows specified dates in the scheduler choosing appropriate type of view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowDates(DateTime[] dates)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowDates(dates As Date())</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.datetime">DateTime</a>[]</td>
      <td><span class="parametername">dates</span></td>
      <td><p>The array of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> values.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Schedule_C1Schedule_ShowDates_" data-uid="C1.Win.Schedule.C1Schedule.ShowDates*"></a>
<h4 id="C1_Win_Schedule_C1Schedule_ShowDates_System_DateTime___System_Nullable_C1_Win_Schedule_ScheduleViewEnum__" data-uid="C1.Win.Schedule.C1Schedule.ShowDates(System.DateTime[],System.Nullable{C1.Win.Schedule.ScheduleViewEnum})">ShowDates(DateTime[], ScheduleViewEnum?)</h4>
<div class="markdown level1 summary"><p>Shows specified dates in the scheduler with the specified view type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowDates(DateTime[] dates, ScheduleViewEnum? view)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowDates(dates As Date(), view As ScheduleViewEnum?)</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.datetime">DateTime</a>[]</td>
      <td><span class="parametername">dates</span></td>
      <td><p>The array of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Schedule.ScheduleViewEnum.html">ScheduleViewEnum</a>?</td>
      <td><span class="parametername">view</span></td>
      <td><p>The <a class="xref" href="C1.Win.Schedule.ScheduleViewEnum.html">ScheduleViewEnum</a> value to show.
If this parameter has no value, the <a class="xref" href="C1.Win.Schedule.C1Schedule.html">C1Schedule</a> control
will select the most appropriate view depending on specified dates.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
