# FarPoint.Win.Spread.StyleRowFilter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_StyleRowFilter" data-uid="FarPoint.Win.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.Win.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.Win.Spread.IRowFilter2.html">IRowFilter2</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IRowFilter.html">IRowFilter</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IManualRowFilterSupport.html">IManualRowFilterSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IRowFilterFrozenSupport.html">IRowFilterFrozenSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_StyleRowFilter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StyleRowFilter : DefaultRowFilter, IRowFilter2, IRowFilter, ISerializeSupport, IDeserializationCallback, IManualRowFilterSupport, IRowFilterFrozenSupport, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StyleRowFilter
    Inherits DefaultRowFilter
    Implements IRowFilter2, IRowFilter, ISerializeSupport, IDeserializationCallback, IManualRowFilterSupport, IRowFilterFrozenSupport, ISerializable</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_Win_Spread_StyleRowFilter__ctor_FarPoint_Win_Spread_SheetView_" data-uid="FarPoint.Win.Spread.StyleRowFilter.#ctor(FarPoint.Win.Spread.SheetView)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.-ctor.html#FarPoint_Win_Spread_StyleRowFilter__ctor_FarPoint_Win_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_Win_Spread_StyleRowFilter__ctor_FarPoint_Win_Spread_SheetView_FarPoint_Win_Spread_NamedStyle_FarPoint_Win_Spread_NamedStyle_" data-uid="FarPoint.Win.Spread.StyleRowFilter.#ctor(FarPoint.Win.Spread.SheetView,FarPoint.Win.Spread.NamedStyle,FarPoint.Win.Spread.NamedStyle)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.-ctor.html#FarPoint_Win_Spread_StyleRowFilter__ctor_FarPoint_Win_Spread_SheetView_FarPoint_Win_Spread_NamedStyle_FarPoint_Win_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>
      <tr>
        <td id="FarPoint_Win_Spread_StyleRowFilter__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.StyleRowFilter.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.-ctor.html#FarPoint_Win_Spread_StyleRowFilter__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">StyleRowFilter(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.html">StyleRowFilter</a> class.</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_Win_Spread_StyleRowFilter_InStyle" data-uid="FarPoint.Win.Spread.StyleRowFilter.InStyle">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.InStyle.html#FarPoint_Win_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_Win_Spread_StyleRowFilter_OutStyle" data-uid="FarPoint.Win.Spread.StyleRowFilter.OutStyle">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.OutStyle.html#FarPoint_Win_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_Win_Spread_StyleRowFilter_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.StyleRowFilter.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.Deserialize.html#FarPoint_Win_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_Win_Spread_StyleRowFilter_OnNamedStyleChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.Spread.StyleRowFilter.OnNamedStyleChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.OnNamedStyleChanged.html#FarPoint_Win_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_Win_Spread_StyleRowFilter_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.StyleRowFilter.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.StyleRowFilter.Serialize.html#FarPoint_Win_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>
