# FarPoint.Web.Spread.Model.BaseSheetStyleModel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Model_BaseSheetStyleModel" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel" class="text-break">BaseSheetStyleModel Class
</h1>
  <div class="markdown level0 summary"><p>Represents the partial (abstract) implementation of the ISheetStyleModel interface
for a style model for a sheet.</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">BaseSheetStyleModel</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetStyleModel.html">DefaultSheetStyleModel</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.INonEmptyCells.html">INonEmptyCells</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IOptimizedEnumerationSupport2.html">IOptimizedEnumerationSupport2</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IOptimizedEnumerationSupport.html">IOptimizedEnumerationSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISheetStyleModel3.html">ISheetStyleModel3</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISheetStyleModel2.html">ISheetStyleModel2</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISheetStyleModel.html">ISheetStyleModel</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.Model.html">FarPoint.Web.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseSheetStyleModel : INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, ISheetStyleModel3, ISheetStyleModel2, ISheetStyleModel</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseSheetStyleModel
    Implements INonEmptyCells, IOptimizedEnumerationSupport2, IOptimizedEnumerationSupport, ISheetStyleModel3, ISheetStyleModel2, ISheetStyleModel</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_Model_BaseSheetStyleModel__ctor" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.-ctor.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel__ctor">BaseSheetStyleModel()</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="FarPoint_Web_Spread_Model_BaseSheetStyleModel_AltRowCount" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.AltRowCount">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.AltRowCount.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_AltRowCount">AltRowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of alternating row styles in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_NonEmptyColumnCount" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NonEmptyColumnCount">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NonEmptyColumnCount.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_NonEmptyColumnCount">NonEmptyColumnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of columns in the model that contain style settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_NonEmptyRowCount" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NonEmptyRowCount">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NonEmptyRowCount.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_NonEmptyRowCount">NonEmptyRowCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rows in the model that contain style settings.</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_Model_BaseSheetStyleModel_FireChanged_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_Model_SheetStyleModelEventType_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.FireChanged(System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Web.Spread.Model.SheetStyleModelEventType)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.FireChanged.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_FireChanged_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_Model_SheetStyleModelEventType_">FireChanged(int, int, int, int, SheetStyleModelEventType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a SheetStyleModelEventArgs with the specified event
data and calls OnChanged to raise the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetCompositeInfo_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetCompositeInfo(System.Int32,System.Int32,System.Int32,FarPoint.Web.Spread.StyleInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetCompositeInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetCompositeInfo_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_">GetCompositeInfo(int, int, int, StyleInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style information as a composite of settings
for the specified cell, column, row, or model default.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetCompositeInfo_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_FarPoint_Web_Spread_StyleInfo_FarPoint_Web_Spread_NamedStyle_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetCompositeInfo(System.Int32,System.Int32,System.Int32,FarPoint.Web.Spread.StyleInfo,FarPoint.Web.Spread.StyleInfo,FarPoint.Web.Spread.NamedStyle)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetCompositeInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetCompositeInfo_System_Int32_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_FarPoint_Web_Spread_StyleInfo_FarPoint_Web_Spread_NamedStyle_">GetCompositeInfo(int, int, int, StyleInfo, StyleInfo, NamedStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style information as a composite of filtered settings for the specified cell, column, row, or model default.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetDirectAltRowInfo_System_Int32_FarPoint_Web_Spread_StyleInfo_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetDirectAltRowInfo(System.Int32,FarPoint.Web.Spread.StyleInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetDirectAltRowInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetDirectAltRowInfo_System_Int32_FarPoint_Web_Spread_StyleInfo_">GetDirectAltRowInfo(int, StyleInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style information for the specified alternating row in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetDirectInfo_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetDirectInfo(System.Int32,System.Int32,FarPoint.Web.Spread.StyleInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.GetDirectInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_GetDirectInfo_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_">GetDirectInfo(int, int, StyleInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the direct style information for the specified cell, column, row,
or model default.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_IsEmpty" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.IsEmpty.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the model has no style settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_IsRowUsed_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.IsRowUsed(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.IsRowUsed.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_IsRowUsed_System_Int32_">IsRowUsed(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the row contains style settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_NextNonEmptyColumnInRow_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NextNonEmptyColumnInRow(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NextNonEmptyColumnInRow.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_NextNonEmptyColumnInRow_System_Int32_System_Int32_">NextNonEmptyColumnInRow(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the next column in a specified row that contains style settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_NextNonEmptyRow_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NextNonEmptyRow(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.NextNonEmptyRow.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_NextNonEmptyRow_System_Int32_">NextNonEmptyRow(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the next non-empty row after the specified row index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_OnChanged_FarPoint_Web_Spread_Model_SheetStyleModelEventArgs_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.OnChanged(FarPoint.Web.Spread.Model.SheetStyleModelEventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.OnChanged.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_OnChanged_FarPoint_Web_Spread_Model_SheetStyleModelEventArgs_">OnChanged(SheetStyleModelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_SetDirectAltRowInfo_System_Int32_FarPoint_Web_Spread_StyleInfo_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.SetDirectAltRowInfo(System.Int32,FarPoint.Web.Spread.StyleInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.SetDirectAltRowInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_SetDirectAltRowInfo_System_Int32_FarPoint_Web_Spread_StyleInfo_">SetDirectAltRowInfo(int, StyleInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the specified alternating row style in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetStyleModel_SetDirectInfo_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.SetDirectInfo(System.Int32,System.Int32,FarPoint.Web.Spread.StyleInfo)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.SetDirectInfo.html#FarPoint_Web_Spread_Model_BaseSheetStyleModel_SetDirectInfo_System_Int32_System_Int32_FarPoint_Web_Spread_StyleInfo_">SetDirectInfo(int, int, StyleInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the direct style information for the specified cell, column, row,
or model default.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_Model_BaseSheetStyleModel_Changed" data-uid="FarPoint.Web.Spread.Model.BaseSheetStyleModel.Changed">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetStyleModel.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user makes a change to the model
that affects the style of the sheet.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
