# C1.WPF.Schedule.ActiveDateTime

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_ActiveDateTime" data-uid="C1.WPF.Schedule.ActiveDateTime" class="text-break">ActiveDateTime Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.html">ActiveDateTime</a> class provides the Now dependency property that returns
a current date/time and is being updated permanently over a specified period of time.</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"><span class="xref">ActiveDateTime</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.dll</h6>
  <h5 id="C1_WPF_Schedule_ActiveDateTime_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ActiveDateTime : DependencyObject, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class ActiveDateTime
    Inherits DependencyObject
    Implements IDisposable</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_Schedule_ActiveDateTime__ctor" data-uid="C1.WPF.Schedule.ActiveDateTime.#ctor">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.-ctor.html#C1_WPF_Schedule_ActiveDateTime__ctor">ActiveDateTime()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new instance of the <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.html">ActiveDateTime</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_ActiveDateTime__ctor_System_TimeSpan_" data-uid="C1.WPF.Schedule.ActiveDateTime.#ctor(System.TimeSpan)">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.-ctor.html#C1_WPF_Schedule_ActiveDateTime__ctor_System_TimeSpan_">ActiveDateTime(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new instance of the <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.html">ActiveDateTime</a> object with the specified interval.</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_Schedule_ActiveDateTime_NowProperty" data-uid="C1.WPF.Schedule.ActiveDateTime.NowProperty">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.NowProperty.html">NowProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Now.html#C1_WPF_Schedule_ActiveDateTime_Now">Now</a> 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_Schedule_ActiveDateTime_Aligned" data-uid="C1.WPF.Schedule.ActiveDateTime.Aligned">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Aligned.html#C1_WPF_Schedule_ActiveDateTime_Aligned">Aligned</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value determining if value of the
<a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Now.html#C1_WPF_Schedule_ActiveDateTime_Now">Now</a> property should be aligned to the nearest millisecond.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_ActiveDateTime_Interval" data-uid="C1.WPF.Schedule.ActiveDateTime.Interval">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Interval.html#C1_WPF_Schedule_ActiveDateTime_Interval">Interval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value determining interval
of the <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Now.html#C1_WPF_Schedule_ActiveDateTime_Now">Now</a> property refreshing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_ActiveDateTime_Now" data-uid="C1.WPF.Schedule.ActiveDateTime.Now">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Now.html#C1_WPF_Schedule_ActiveDateTime_Now">Now</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a current date/time value.</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_Schedule_ActiveDateTime_Dispose" data-uid="C1.WPF.Schedule.ActiveDateTime.Dispose">
          <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.Dispose.html#C1_WPF_Schedule_ActiveDateTime_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases all the resources used by the <a class="xref" href="C1.WPF.Schedule.ActiveDateTime.html">ActiveDateTime</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
