# FarPoint.Web.Spread.StyleRowFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_StyleRowFilter" data-uid="FarPoint.Web.Spread.StyleRowFilter" class="text-break">StyleRowFilter Class
</h1>
  <div class="markdown level0 summary"><p>Represents the filter that sets the styles of rows based on certain criteria.</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="FarPoint.Web.Spread.DefaultRowFilter.html">DefaultRowFilter</a></div>
    <div class="level2"><span class="xref">StyleRowFilter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.IRowFilterComboSupport.html">IRowFilterComboSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IRowFilterSlim.html">IRowFilterSlim</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IRowFilter.html">IRowFilter</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IRowFilterFrozenSupport.html">IRowFilterFrozenSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_StyleRowFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleRowFilter : DefaultRowFilter, IRowFilterComboSupport, IRowFilterSlim, IRowFilter, ISerializeSupport, IRowFilterFrozenSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StyleRowFilter
    Inherits DefaultRowFilter
    Implements IRowFilterComboSupport, IRowFilterSlim, IRowFilter, ISerializeSupport, IRowFilterFrozenSupport</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="FarPoint_Web_Spread_StyleRowFilter__ctor" data-uid="FarPoint.Web.Spread.StyleRowFilter.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.-ctor.html#FarPoint_Web_Spread_StyleRowFilter__ctor">StyleRowFilter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new style row filter with default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter__ctor_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.StyleRowFilter.#ctor(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.-ctor.html#FarPoint_Web_Spread_StyleRowFilter__ctor_FarPoint_Web_Spread_SheetView_">StyleRowFilter(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new style row filter for the specified sheet.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter__ctor_FarPoint_Web_Spread_SheetView_FarPoint_Web_Spread_NamedStyle_FarPoint_Web_Spread_NamedStyle_" data-uid="FarPoint.Web.Spread.StyleRowFilter.#ctor(FarPoint.Web.Spread.SheetView,FarPoint.Web.Spread.NamedStyle,FarPoint.Web.Spread.NamedStyle)">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.-ctor.html#FarPoint_Web_Spread_StyleRowFilter__ctor_FarPoint_Web_Spread_SheetView_FarPoint_Web_Spread_NamedStyle_FarPoint_Web_Spread_NamedStyle_">StyleRowFilter(SheetView, NamedStyle, NamedStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new style row filter for the specified sheet with specified styles.</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="FarPoint_Web_Spread_StyleRowFilter_InStyle" data-uid="FarPoint.Web.Spread.StyleRowFilter.InStyle">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.InStyle.html#FarPoint_Web_Spread_StyleRowFilter_InStyle">InStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style that is applied to rows that satisfy the filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter_OutStyle" data-uid="FarPoint.Web.Spread.StyleRowFilter.OutStyle">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.OutStyle.html#FarPoint_Web_Spread_StyleRowFilter_OutStyle">OutStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style that is applied to rows that do not satisfy the filter.</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="FarPoint_Web_Spread_StyleRowFilter_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.StyleRowFilter.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.Deserialize.html#FarPoint_Web_Spread_StyleRowFilter_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter_Init" data-uid="FarPoint.Web.Spread.StyleRowFilter.Init">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.Init.html#FarPoint_Web_Spread_StyleRowFilter_Init">Init()</a>
        </td>
        <td class="markdown level1 summary"><p>Internal use only. Initializes the style row filter.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter_OnNamedStyleChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Web.Spread.StyleRowFilter.OnNamedStyleChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.OnNamedStyleChanged.html#FarPoint_Web_Spread_StyleRowFilter_OnNamedStyleChanged_System_Object_System_EventArgs_">OnNamedStyleChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the style has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StyleRowFilter_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.StyleRowFilter.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.StyleRowFilter.Serialize.html#FarPoint_Web_Spread_StyleRowFilter_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
