# C1.Win.GanttView.DateRangeFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_DateRangeFilter" data-uid="C1.Win.GanttView.DateRangeFilter" class="text-break">DateRangeFilter Class
</h1>
  <div class="markdown level0 summary"><p>Uses to filter the tasks have start, finish date in a specific date range.</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="C1.Win.GanttView.BaseTaskFilter.html">BaseTaskFilter</a></div>
    <div class="level2"><span class="xref">DateRangeFilter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.html">C1.Win.GanttView</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_DateRangeFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(DateRangeFilterConverter))]
public class DateRangeFilter : BaseTaskFilter, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(DateRangeFilterConverter))&gt;
Public Class DateRangeFilter
    Inherits BaseTaskFilter
    Implements ICloneable</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_Win_GanttView_DateRangeFilter__ctor_System_DateTime_System_DateTime_" data-uid="C1.Win.GanttView.DateRangeFilter.#ctor(System.DateTime,System.DateTime)">
          <a class="xref" href="C1.Win.GanttView.DateRangeFilter.-ctor.html#C1_Win_GanttView_DateRangeFilter__ctor_System_DateTime_System_DateTime_">DateRangeFilter(DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="C1.Win.GanttView.DateRangeFilter.html">DateRangeFilter</a> object with start date and end date.</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_Win_GanttView_DateRangeFilter_EndRange" data-uid="C1.Win.GanttView.DateRangeFilter.EndRange">
          <a class="xref" href="C1.Win.GanttView.DateRangeFilter.EndRange.html#C1_Win_GanttView_DateRangeFilter_EndRange">EndRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the end date in range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_DateRangeFilter_StartRange" data-uid="C1.Win.GanttView.DateRangeFilter.StartRange">
          <a class="xref" href="C1.Win.GanttView.DateRangeFilter.StartRange.html#C1_Win_GanttView_DateRangeFilter_StartRange">StartRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the start date in range.</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_Win_GanttView_DateRangeFilter_ApplyFilter_C1_Win_GanttView_BaseTask_" data-uid="C1.Win.GanttView.DateRangeFilter.ApplyFilter(C1.Win.GanttView.BaseTask)">
          <a class="xref" href="C1.Win.GanttView.DateRangeFilter.ApplyFilter.html#C1_Win_GanttView_DateRangeFilter_ApplyFilter_C1_Win_GanttView_BaseTask_">ApplyFilter(BaseTask)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the filter to a task.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_DateRangeFilter_Clone" data-uid="C1.Win.GanttView.DateRangeFilter.Clone">
          <a class="xref" href="C1.Win.GanttView.DateRangeFilter.Clone.html#C1_Win_GanttView_DateRangeFilter_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
