# C1.Win.FlexGrid.BaseFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_BaseFilter" data-uid="C1.Win.FlexGrid.BaseFilter" class="text-break">BaseFilter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base filter.</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">BaseFilter</span></div>
      <div class="level2"><a class="xref" href="C1.Win.FlexGrid.ConditionFilter.html">ConditionFilter</a></div>
      <div class="level2"><a class="xref" href="C1.Win.FlexGrid.ValueFilter.html">ValueFilter</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.FlexGrid.IC1ColumnFilter2.html">IC1ColumnFilter2</a></div>
    <div><a class="xref" href="C1.Win.FlexGrid.IC1ColumnFilter.html">IC1ColumnFilter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_BaseFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseFilter : IC1ColumnFilter2, IC1ColumnFilter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseFilter
    Implements IC1ColumnFilter2, IC1ColumnFilter</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_FlexGrid_BaseFilter__ctor" data-uid="C1.Win.FlexGrid.BaseFilter.#ctor">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.-ctor.html#C1_Win_FlexGrid_BaseFilter__ctor">BaseFilter()</a>
        </td>
        <td class="markdown level1 summary"></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_FlexGrid_BaseFilter_IsActive" data-uid="C1.Win.FlexGrid.BaseFilter.IsActive">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.IsActive.html#C1_Win_FlexGrid_BaseFilter_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether the filter is active.</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_FlexGrid_BaseFilter_Apply_System_Object_" data-uid="C1.Win.FlexGrid.BaseFilter.Apply(System.Object)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.Apply.html#C1_Win_FlexGrid_BaseFilter_Apply_System_Object_">Apply(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the filter to a value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_DecodeXmlValue_System_String_System_Type_" data-uid="C1.Win.FlexGrid.BaseFilter.DecodeXmlValue(System.String,System.Type)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.DecodeXmlValue.html#C1_Win_FlexGrid_BaseFilter_DecodeXmlValue_System_String_System_Type_">DecodeXmlValue(string, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Decodes string value to filter typed value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_EncodeXmlValue_System_Object_" data-uid="C1.Win.FlexGrid.BaseFilter.EncodeXmlValue(System.Object)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.EncodeXmlValue.html#C1_Win_FlexGrid_BaseFilter_EncodeXmlValue_System_Object_">EncodeXmlValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Encodes filter value to string value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_GetDataType_System_Xml_XmlReader_" data-uid="C1.Win.FlexGrid.BaseFilter.GetDataType(System.Xml.XmlReader)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.GetDataType.html#C1_Win_FlexGrid_BaseFilter_GetDataType_System_Xml_XmlReader_">GetDataType(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets filter data type from XML definition.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_GetEditor" data-uid="C1.Win.FlexGrid.BaseFilter.GetEditor">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.GetEditor.html#C1_Win_FlexGrid_BaseFilter_GetEditor">GetEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor used to modify the filter at run time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_ReadXmlDefinition_System_Xml_XmlReader_" data-uid="C1.Win.FlexGrid.BaseFilter.ReadXmlDefinition(System.Xml.XmlReader)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.ReadXmlDefinition.html#C1_Win_FlexGrid_BaseFilter_ReadXmlDefinition_System_Xml_XmlReader_">ReadXmlDefinition(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads XML definition of the filter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_Reset" data-uid="C1.Win.FlexGrid.BaseFilter.Reset">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.Reset.html#C1_Win_FlexGrid_BaseFilter_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the filter making it inactive.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_BaseFilter_WriteXmlDefinition_System_Xml_XmlWriter_" data-uid="C1.Win.FlexGrid.BaseFilter.WriteXmlDefinition(System.Xml.XmlWriter)">
          <a class="xref" href="C1.Win.FlexGrid.BaseFilter.WriteXmlDefinition.html#C1_Win_FlexGrid_BaseFilter_WriteXmlDefinition_System_Xml_XmlWriter_">WriteXmlDefinition(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes XML definition of the filter.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
