# C1.C1Preview.TagDateTimeInputParams.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_TagDateTimeInputParams__ctor_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor*">TagDateTimeInputParams Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_TagDateTimeInputParams__ctor_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor*"></a>
<h4 id="C1_C1Preview_TagDateTimeInputParams__ctor" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor">TagDateTimeInputParams()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TagDateTimeInputParams.html">TagDateTimeInputParams</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TagDateTimeInputParams()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Preview_TagDateTimeInputParams__ctor_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor*"></a>
<h4 id="C1_C1Preview_TagDateTimeInputParams__ctor_System_DateTime_System_DateTime_System_Windows_Forms_DateTimePickerFormat_System_String_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor(System.DateTime,System.DateTime,System.Windows.Forms.DateTimePickerFormat,System.String)">TagDateTimeInputParams(DateTime, DateTime, DateTimePickerFormat, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TagDateTimeInputParams.html">TagDateTimeInputParams</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TagDateTimeInputParams(DateTime minDate, DateTime maxDate, DateTimePickerFormat format, string customFormat)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(minDate As Date, maxDate As Date, format As DateTimePickerFormat, customFormat As String)</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">minDate</span></td>
      <td><p>The minimum allowed date.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></td>
      <td><span class="parametername">maxDate</span></td>
      <td><p>The maximum allowed date.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.datetimepickerformat">DateTimePickerFormat</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The format to use in the date/time picker.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">customFormat</span></td>
      <td><p>The custom date/time format string.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_TagDateTimeInputParams__ctor_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor*"></a>
<h4 id="C1_C1Preview_TagDateTimeInputParams__ctor_System_Windows_Forms_DateTimePickerFormat_System_String_" data-uid="C1.C1Preview.TagDateTimeInputParams.#ctor(System.Windows.Forms.DateTimePickerFormat,System.String)">TagDateTimeInputParams(DateTimePickerFormat, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TagDateTimeInputParams.html">TagDateTimeInputParams</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TagDateTimeInputParams(DateTimePickerFormat format, string customFormat)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(format As DateTimePickerFormat, customFormat As String)</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.windows.forms.datetimepickerformat">DateTimePickerFormat</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The format to use in the date/time picker.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">customFormat</span></td>
      <td><p>The custom date/time format string.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
