# FarPoint.Web.Spread.ContextMenu

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_ContextMenu" data-uid="FarPoint.Web.Spread.ContextMenu" class="text-break">ContextMenu Class
</h1>
  <div class="markdown level0 summary"><p>The Spread context menu.</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">ContextMenu</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.TouchStrip.html">TouchStrip</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.inamingcontainer">INamingContainer</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_ContextMenu_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ContextMenu._a))]
public class ContextMenu : INamingContainer, IStateManager, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ContextMenu._a))&gt;
Public Class ContextMenu
    Implements INamingContainer, 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_ContextMenu__ctor" data-uid="FarPoint.Web.Spread.ContextMenu.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.-ctor.html#FarPoint_Web_Spread_ContextMenu__ctor">ContextMenu()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ContextMenu.html">ContextMenu</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_ContextMenu_IsTrackingViewState" data-uid="FarPoint.Web.Spread.ContextMenu.IsTrackingViewState">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.IsTrackingViewState.html#FarPoint_Web_Spread_ContextMenu_IsTrackingViewState">IsTrackingViewState</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this menu is tracking the viewstate.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenu_Items" data-uid="FarPoint.Web.Spread.ContextMenu.Items">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.Items.html#FarPoint_Web_Spread_ContextMenu_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the items collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenu_ShowDefaultContextMenu" data-uid="FarPoint.Web.Spread.ContextMenu.ShowDefaultContextMenu">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.ShowDefaultContextMenu.html#FarPoint_Web_Spread_ContextMenu_ShowDefaultContextMenu">ShowDefaultContextMenu</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the default browser menu is displayed when a context menu is canceled when opening.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenu_Type" data-uid="FarPoint.Web.Spread.ContextMenu.Type">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.Type.html#FarPoint_Web_Spread_ContextMenu_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenu_Width" data-uid="FarPoint.Web.Spread.ContextMenu.Width">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.Width.html#FarPoint_Web_Spread_ContextMenu_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width.</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_ContextMenu_OnDeserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.ContextMenu.OnDeserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.OnDeserialize.html#FarPoint_Web_Spread_ContextMenu_OnDeserialize_System_Xml_XmlNodeReader_">OnDeserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_ContextMenu_OnSerialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.ContextMenu.OnSerialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.ContextMenu.OnSerialize.html#FarPoint_Web_Spread_ContextMenu_OnSerialize_System_Xml_XmlTextWriter_">OnSerialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
