# FarPoint.Web.Spread.ContextMenuCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_ContextMenuCollection" data-uid="FarPoint.Web.Spread.ContextMenuCollection" class="text-break">ContextMenuCollection Class
</h1>
  <div class="markdown level0 summary"><p>The Spread menu collection.</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;<a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a>&gt;</div>
    <div class="level2"><a class="xref" href="FarPoint.Web.Spread.StateList-1.html">StateList</a>&lt;<a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a>&gt;</div>
    <div class="level3"><span class="xref">ContextMenuCollection</span></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;<a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a>&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><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</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_ContextMenuCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ContextMenuCollection : StateList&lt;ContextMenu&gt;, IList&lt;ContextMenu&gt;, ICollection&lt;ContextMenu&gt;, IEnumerable&lt;ContextMenu&gt;, IList, ICollection, IEnumerable, IStateManager, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ContextMenuCollection
    Inherits StateList(Of ContextMenu)
    Implements IList(Of ContextMenu), ICollection(Of ContextMenu), IEnumerable(Of ContextMenu), IList, ICollection, IEnumerable, IStateManager, ISerializeSupport</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_ContextMenuCollection__ctor_FarPoint_Web_Spread_FpSpread_" data-uid="FarPoint.Web.Spread.ContextMenuCollection.#ctor(FarPoint.Web.Spread.FpSpread)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.-ctor.html#FarPoint_Web_Spread_ContextMenuCollection__ctor_FarPoint_Web_Spread_FpSpread_">ContextMenuCollection(FpSpread)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.html">ContextMenuCollection</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_Web_Spread_ContextMenuCollection_Item_FarPoint_Web_Spread_ContextMenuType_" data-uid="FarPoint.Web.Spread.ContextMenuCollection.Item(FarPoint.Web.Spread.ContextMenuType)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.Item.html#FarPoint_Web_Spread_ContextMenuCollection_Item_FarPoint_Web_Spread_ContextMenuType_">this[ContextMenuType]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</a> with the specified type.</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_ContextMenuCollection_LoadViewState_System_Object_" data-uid="FarPoint.Web.Spread.ContextMenuCollection.LoadViewState(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.LoadViewState.html#FarPoint_Web_Spread_ContextMenuCollection_LoadViewState_System_Object_">LoadViewState(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the state of the view.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenuCollection_OnListChanged_FarPoint_Web_Spread_ListBase_FarPoint_Web_Spread_ContextMenu__ListChangedEventArgs_" data-uid="FarPoint.Web.Spread.ContextMenuCollection.OnListChanged(FarPoint.Web.Spread.ListBase{FarPoint.Web.Spread.ContextMenu}.ListChangedEventArgs)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.OnListChanged.html#FarPoint_Web_Spread_ContextMenuCollection_OnListChanged_FarPoint_Web_Spread_ListBase_FarPoint_Web_Spread_ContextMenu__ListChangedEventArgs_">OnListChanged(ListChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when [list changed].</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenuCollection_SaveViewState" data-uid="FarPoint.Web.Spread.ContextMenuCollection.SaveViewState">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenuCollection.SaveViewState.html#FarPoint_Web_Spread_ContextMenuCollection_SaveViewState">SaveViewState()</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the state of the view.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
