# FarPoint.Win.Spread.Model.INamedStyleSupport

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Model_INamedStyleSupport" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport" class="text-break">INamedStyleSupport Interface
</h1>
  <div class="markdown level0 summary"><p>Interface that supports collections of custom styles in the style model.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.Model.html">FarPoint.Win.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_Model_INamedStyleSupport_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface INamedStyleSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface INamedStyleSupport</code></pre>
  </div>
  <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_Model_INamedStyleSupport_NamedStyles" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport.NamedStyles">
          <a class="xref" href="FarPoint.Win.Spread.Model.INamedStyleSupport.NamedStyles.html#FarPoint_Win_Spread_Model_INamedStyleSupport_NamedStyles">NamedStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of styles used by the style model.</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_Model_INamedStyleSupport_GetDirectAltRowName_System_Int32_" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport.GetDirectAltRowName(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Model.INamedStyleSupport.GetDirectAltRowName.html#FarPoint_Win_Spread_Model_INamedStyleSupport_GetDirectAltRowName_System_Int32_">GetDirectAltRowName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style name for an alternating row style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_INamedStyleSupport_GetDirectName_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport.GetDirectName(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Model.INamedStyleSupport.GetDirectName.html#FarPoint_Win_Spread_Model_INamedStyleSupport_GetDirectName_System_Int32_System_Int32_">GetDirectName(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the name of the direct style assigned to a cell, column,
row, or model default.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_INamedStyleSupport_SetDirectAltRowName_System_Int32_System_String_" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport.SetDirectAltRowName(System.Int32,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.INamedStyleSupport.SetDirectAltRowName.html#FarPoint_Win_Spread_Model_INamedStyleSupport_SetDirectAltRowName_System_Int32_System_String_">SetDirectAltRowName(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the specified alternating row style in the model to the specified named style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Model_INamedStyleSupport_SetDirectName_System_Int32_System_Int32_System_String_" data-uid="FarPoint.Win.Spread.Model.INamedStyleSupport.SetDirectName(System.Int32,System.Int32,System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Model.INamedStyleSupport.SetDirectName.html#FarPoint_Win_Spread_Model_INamedStyleSupport_SetDirectName_System_Int32_System_Int32_System_String_">SetDirectName(int, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the direct style for the specified cell, column, row,
or model default to the specified style name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
