# C1.Win.GanttView.FilterDefinition

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_FilterDefinition" data-uid="C1.Win.GanttView.FilterDefinition" class="text-break">FilterDefinition Class
</h1>
  <div class="markdown level0 summary"><p>This class used to store filter definitions.</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">FilterDefinition</span></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_FilterDefinition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FilterDefinition</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FilterDefinition</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_FilterDefinition__ctor_C1_Win_GanttView_C1GanttView_" data-uid="C1.Win.GanttView.FilterDefinition.#ctor(C1.Win.GanttView.C1GanttView)">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.-ctor.html#C1_Win_GanttView_FilterDefinition__ctor_C1_Win_GanttView_C1GanttView_">FilterDefinition(C1GanttView)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialzes a new <a class="xref" href="C1.Win.GanttView.FilterDefinition.html">FilterDefinition</a> object with given C1GanttView reference.</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_FilterDefinition_CurrentFilter" data-uid="C1.Win.GanttView.FilterDefinition.CurrentFilter">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.CurrentFilter.html#C1_Win_GanttView_FilterDefinition_CurrentFilter">CurrentFilter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current applied filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FilterDefinition_CurrentFilterID" data-uid="C1.Win.GanttView.FilterDefinition.CurrentFilterID">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.CurrentFilterID.html#C1_Win_GanttView_FilterDefinition_CurrentFilterID">CurrentFilterID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the autogenerated ID.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FilterDefinition_Items" data-uid="C1.Win.GanttView.FilterDefinition.Items">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.Items.html#C1_Win_GanttView_FilterDefinition_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>This is collection of saved advanced filters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_FilterDefinition_ShowRelatedSummaryRows" data-uid="C1.Win.GanttView.FilterDefinition.ShowRelatedSummaryRows">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.ShowRelatedSummaryRows.html#C1_Win_GanttView_FilterDefinition_ShowRelatedSummaryRows">ShowRelatedSummaryRows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether keep related summary rows after filtered.</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_FilterDefinition_OnShowRelatedSummaryRowsChanged_System_EventArgs_" data-uid="C1.Win.GanttView.FilterDefinition.OnShowRelatedSummaryRowsChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.GanttView.FilterDefinition.OnShowRelatedSummaryRowsChanged.html#C1_Win_GanttView_FilterDefinition_OnShowRelatedSummaryRowsChanged_System_EventArgs_">OnShowRelatedSummaryRowsChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ShowRelatedSummaryRowsChanged event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
