# FarPoint.Web.Spread.CommandBarInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_CommandBarInfo" data-uid="FarPoint.Web.Spread.CommandBarInfo" class="text-break">CommandBarInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents information about the command bar in the Spread component.</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">CommandBarInfo</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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_CommandBarInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class CommandBarInfo : ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class CommandBarInfo
    Implements 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_CommandBarInfo__ctor" data-uid="FarPoint.Web.Spread.CommandBarInfo.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.-ctor.html#FarPoint_Web_Spread_CommandBarInfo__ctor">CommandBarInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new CommandBarInfo object.</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_CommandBarInfo_BackColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.BackColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.BackColor.html#FarPoint_Web_Spread_CommandBarInfo_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Background" data-uid="FarPoint.Web.Spread.CommandBarInfo.Background">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Background.html#FarPoint_Web_Spread_CommandBarInfo_Background">Background</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets gradient style information for the command bar of a Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ButtonFaceColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.ButtonFaceColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ButtonFaceColor.html#FarPoint_Web_Spread_CommandBarInfo_ButtonFaceColor">ButtonFaceColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of buttons on the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ButtonHighlightColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.ButtonHighlightColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ButtonHighlightColor.html#FarPoint_Web_Spread_CommandBarInfo_ButtonHighlightColor">ButtonHighlightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the top and left borders of buttons on the command bar
of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ButtonShadowColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.ButtonShadowColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ButtonShadowColor.html#FarPoint_Web_Spread_CommandBarInfo_ButtonShadowColor">ButtonShadowColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the bottom and right borders of buttons on the command bar
of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ButtonTextColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.ButtonTextColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ButtonTextColor.html#FarPoint_Web_Spread_CommandBarInfo_ButtonTextColor">ButtonTextColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text color of buttons on the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ButtonType" data-uid="FarPoint.Web.Spread.CommandBarInfo.ButtonType">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ButtonType.html#FarPoint_Web_Spread_CommandBarInfo_ButtonType">ButtonType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of button on the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Font" data-uid="FarPoint.Web.Spread.CommandBarInfo.Font">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Font.html#FarPoint_Web_Spread_CommandBarInfo_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font for the sheet name tab text and button text in
the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ImageButtonHoverColor" data-uid="FarPoint.Web.Spread.CommandBarInfo.ImageButtonHoverColor">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ImageButtonHoverColor.html#FarPoint_Web_Spread_CommandBarInfo_ImageButtonHoverColor">ImageButtonHoverColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the hover color buttons in the command bar of the Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ShowExcelButton" data-uid="FarPoint.Web.Spread.CommandBarInfo.ShowExcelButton">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ShowExcelButton.html#FarPoint_Web_Spread_CommandBarInfo_ShowExcelButton">ShowExcelButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to display the save Excel button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ShowExcelSecurityPopup" data-uid="FarPoint.Web.Spread.CommandBarInfo.ShowExcelSecurityPopup">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ShowExcelSecurityPopup.html#FarPoint_Web_Spread_CommandBarInfo_ShowExcelSecurityPopup">ShowExcelSecurityPopup</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to display the Excel password popup.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ShowPDFButton" data-uid="FarPoint.Web.Spread.CommandBarInfo.ShowPDFButton">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ShowPDFButton.html#FarPoint_Web_Spread_CommandBarInfo_ShowPDFButton">ShowPDFButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to display the print PDF button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_ShowPDFSecurityPopup" data-uid="FarPoint.Web.Spread.CommandBarInfo.ShowPDFSecurityPopup">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.ShowPDFSecurityPopup.html#FarPoint_Web_Spread_CommandBarInfo_ShowPDFSecurityPopup">ShowPDFSecurityPopup</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to display the PDF password popup.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Theme" data-uid="FarPoint.Web.Spread.CommandBarInfo.Theme">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Theme.html#FarPoint_Web_Spread_CommandBarInfo_Theme">Theme</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the appearance theme of image buttons on the command bar and pager of a Spread component.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_UseSheetSkin" data-uid="FarPoint.Web.Spread.CommandBarInfo.UseSheetSkin">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.UseSheetSkin.html#FarPoint_Web_Spread_CommandBarInfo_UseSheetSkin">UseSheetSkin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to keep the same appearance with ActiveSheetView.ActiveSkin.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Visible" data-uid="FarPoint.Web.Spread.CommandBarInfo.Visible">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Visible.html#FarPoint_Web_Spread_CommandBarInfo_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Spread component displays the command bar.</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_CommandBarInfo_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.CommandBarInfo.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Deserialize.html#FarPoint_Web_Spread_CommandBarInfo_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the command bar information from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Reset" data-uid="FarPoint.Web.Spread.CommandBarInfo.Reset">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Reset.html#FarPoint_Web_Spread_CommandBarInfo_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the properties of a command bar of the Spread component to their default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_CommandBarInfo_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.CommandBarInfo.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.CommandBarInfo.Serialize.html#FarPoint_Web_Spread_CommandBarInfo_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the command bar information to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
