# FarPoint.Web.Spread.StateList-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_StateList_1" data-uid="FarPoint.Web.Spread.StateList`1" class="text-break">StateList&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The state list base.</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">ListBase</span>&lt;T&gt;</div>
    <div class="level2"><span class="xref">StateList&lt;T&gt;</span></div>
      <div class="level3"><a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.html">ContextMenuCollection</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Web.Spread.MenuItemCollection.html">MenuItemCollection</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Web.Spread.TouchStripCollection.html">TouchStripCollection</a></div>
      <div class="level3"><a class="xref" href="FarPoint.Web.Spread.TouchStripItemCollection.html">TouchStripItemCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.istatemanager">IStateManager</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_StateList_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StateList&lt;T&gt; : ListBase&lt;T&gt;, IList&lt;T&gt;, ICollection&lt;T&gt;, IEnumerable&lt;T&gt;, IList, ICollection, IEnumerable, IStateManager where T : IStateManager</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StateList(Of T As IStateManager)
    Inherits ListBase(Of T)
    Implements IList(Of T), ICollection(Of T), IEnumerable(Of T), IList, ICollection, IEnumerable, IStateManager</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_StateList_1__ctor" data-uid="FarPoint.Web.Spread.StateList`1.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.StateList-1.-ctor.html#FarPoint_Web_Spread_StateList_1__ctor">StateList()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.StateList-1.html">StateList&lt;T&gt;</a> class.</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_StateList_1_LoadViewState_System_Object_" data-uid="FarPoint.Web.Spread.StateList`1.LoadViewState(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.StateList-1.LoadViewState.html#FarPoint_Web_Spread_StateList_1_LoadViewState_System_Object_">LoadViewState(object)</a>
        </td>
        <td class="markdown level1 summary"><p>When implemented by a class, loads the server control's previously saved view state to the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_StateList_1_SaveViewState" data-uid="FarPoint.Web.Spread.StateList`1.SaveViewState">
          <a class="xref" href="FarPoint.Web.Spread.StateList-1.SaveViewState.html#FarPoint_Web_Spread_StateList_1_SaveViewState">SaveViewState()</a>
        </td>
        <td class="markdown level1 summary"><p>When implemented by a class, saves the changes to a server control's view state to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
