# C1.WPF.InputPanel.C1InputDateTimePicker

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_InputPanel_C1InputDateTimePicker" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker" class="text-break">C1InputDateTimePicker Class
</h1>
  <div class="markdown level0 summary"><p>Displays and edits the date type of data.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level8"><a class="xref" href="C1.WPF.InputPanel.C1InputBase.html">C1InputBase</a></div>
    <div class="level9"><span class="xref">C1InputDateTimePicker</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.InputPanel.html">C1.WPF.InputPanel</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.InputPanel.4.6.2.dll</h6>
  <h5 id="C1_WPF_InputPanel_C1InputDateTimePicker_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Content&quot;, Type = typeof(C1DateTimePicker))]
public class C1InputDateTimePicker : C1InputBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Content&quot;, Type:=GetType(C1DateTimePicker))&gt;
Public Class C1InputDateTimePicker
    Inherits C1InputBase
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker__ctor" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.#ctor">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.-ctor.html#C1_WPF_InputPanel_C1InputDateTimePicker__ctor">C1InputDateTimePicker()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.html">C1InputDateTimePicker</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker_AllowNullProperty" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.AllowNullProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.AllowNullProperty.html">AllowNullProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.AllowNull.html#C1_WPF_InputPanel_C1InputDateTimePicker_AllowNull">AllowNull</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker_EditModeProperty" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.EditModeProperty">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.EditModeProperty.html">EditModeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the &quot;EditMode&quot; dependency property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker_AllowNull" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.AllowNull">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.AllowNull.html#C1_WPF_InputPanel_C1InputDateTimePicker_AllowNull">AllowNull</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the editing control allows null values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker_EditMode" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.EditMode">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.EditMode.html#C1_WPF_InputPanel_C1InputDateTimePicker_EditMode">EditMode</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the C1DateTimePicker edit mode.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_InputPanel_C1InputDateTimePicker_OnApplyTemplate" data-uid="C1.WPF.InputPanel.C1InputDateTimePicker.OnApplyTemplate">
          <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.OnApplyTemplate.html#C1_WPF_InputPanel_C1InputDateTimePicker_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Builds the visual tree for the <a class="xref" href="C1.WPF.InputPanel.C1InputDateTimePicker.html">C1InputDateTimePicker</a> control when a new template is applied.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
