# FarPoint.Web.Spread.MenuItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_MenuItem" data-uid="FarPoint.Web.Spread.MenuItem" class="text-break">MenuItem Class
</h1>
  <div class="markdown level0 summary"><p>The Spread menu item.</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">MenuItem</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.TouchStripItem.html">TouchStripItem</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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_MenuItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(MenuItem._a))]
public class MenuItem : IStateManager, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(MenuItem._a))&gt;
Public Class MenuItem
    Implements 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_MenuItem__ctor" data-uid="FarPoint.Web.Spread.MenuItem.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.-ctor.html#FarPoint_Web_Spread_MenuItem__ctor">MenuItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem__ctor_System_String_" data-uid="FarPoint.Web.Spread.MenuItem.#ctor(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.-ctor.html#FarPoint_Web_Spread_MenuItem__ctor_System_String_">MenuItem(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem__ctor_System_String_System_String_System_String_" data-uid="FarPoint.Web.Spread.MenuItem.#ctor(System.String,System.String,System.String)">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.-ctor.html#FarPoint_Web_Spread_MenuItem__ctor_System_String_System_String_System_String_">MenuItem(string, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</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_MenuItem_AutoPostBack" data-uid="FarPoint.Web.Spread.MenuItem.AutoPostBack">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.AutoPostBack.html#FarPoint_Web_Spread_MenuItem_AutoPostBack">AutoPostBack</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether an automatic postback to the server occurs when the user clicks the menu item.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_ChildItems" data-uid="FarPoint.Web.Spread.MenuItem.ChildItems">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.ChildItems.html#FarPoint_Web_Spread_MenuItem_ChildItems">ChildItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the child items.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_CommandArgument" data-uid="FarPoint.Web.Spread.MenuItem.CommandArgument">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.CommandArgument.html#FarPoint_Web_Spread_MenuItem_CommandArgument">CommandArgument</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command argument.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_CommandName" data-uid="FarPoint.Web.Spread.MenuItem.CommandName">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.CommandName.html#FarPoint_Web_Spread_MenuItem_CommandName">CommandName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the item command.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Enabled" data-uid="FarPoint.Web.Spread.MenuItem.Enabled">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Enabled.html#FarPoint_Web_Spread_MenuItem_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether this <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</a> is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Height" data-uid="FarPoint.Web.Spread.MenuItem.Height">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Height.html#FarPoint_Web_Spread_MenuItem_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_ImageUrl" data-uid="FarPoint.Web.Spread.MenuItem.ImageUrl">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.ImageUrl.html#FarPoint_Web_Spread_MenuItem_ImageUrl">ImageUrl</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image URL.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Index" data-uid="FarPoint.Web.Spread.MenuItem.Index">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Index.html#FarPoint_Web_Spread_MenuItem_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_ItemTemplate" data-uid="FarPoint.Web.Spread.MenuItem.ItemTemplate">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.ItemTemplate.html#FarPoint_Web_Spread_MenuItem_ItemTemplate">ItemTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the item template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_OnClientClick" data-uid="FarPoint.Web.Spread.MenuItem.OnClientClick">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.OnClientClick.html#FarPoint_Web_Spread_MenuItem_OnClientClick">OnClientClick</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the client-side script that executes when the user clicks the <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Parent" data-uid="FarPoint.Web.Spread.MenuItem.Parent">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Parent.html#FarPoint_Web_Spread_MenuItem_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Text" data-uid="FarPoint.Web.Spread.MenuItem.Text">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Text.html#FarPoint_Web_Spread_MenuItem_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_ViewState" data-uid="FarPoint.Web.Spread.MenuItem.ViewState">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.ViewState.html#FarPoint_Web_Spread_MenuItem_ViewState">ViewState</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the state of the view.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_Visible" data-uid="FarPoint.Web.Spread.MenuItem.Visible">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.Visible.html#FarPoint_Web_Spread_MenuItem_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether this <a class="xref" href="FarPoint.Web.Spread.MenuItem.html">MenuItem</a> is visible.</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_MenuItem_OnDeserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.MenuItem.OnDeserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.OnDeserialize.html#FarPoint_Web_Spread_MenuItem_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_MenuItem_OnDeserializeElement_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.MenuItem.OnDeserializeElement(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.OnDeserializeElement.html#FarPoint_Web_Spread_MenuItem_OnDeserializeElement_System_Xml_XmlNodeReader_">OnDeserializeElement(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_MenuItem_OnSerialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.MenuItem.OnSerialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.MenuItem.OnSerialize.html#FarPoint_Web_Spread_MenuItem_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>
