# C1.Win.C1Editor.ToolStrips.CommandSplitButton

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Editor_ToolStrips_CommandSplitButton" data-uid="C1.Win.C1Editor.ToolStrips.CommandSplitButton" class="text-break">CommandSplitButton Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the command used in a <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.html">C1EditorToolStripSplitButton</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Editor.ToolStrips.html">C1.Win.C1Editor.ToolStrips</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Editor.4.8.dll</h6>
  <h5 id="C1_Win_C1Editor_ToolStrips_CommandSplitButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CommandSplitButton</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CommandSplitButton</code></pre>
  </div>
  <h5 id="C1_Win_C1Editor_ToolStrips_CommandSplitButton_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The CommandSplitButton enumeration is used by the <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.html">C1EditorToolStripSplitButton</a> to set associated with the command text, tooltip, image, and menu items.
The command defines also whether the button is checked or unchecked and whether the button is enabled or disabled.</p>
</div>
  <h5 id="C1_Win_C1Editor_ToolStrips_CommandSplitButton_examples"><strong>Examples</strong></h5>
  <p>The following code example demonstrates how to create a <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.html">C1EditorToolStripSplitButton</a> and add it to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstrip">ToolStrip</a>.</p>
<pre><code class="lang-csharp">C1EditorToolStripSplitButton button = new C1EditorToolStripSplitButton();
button.Command = CommandSplitButton.Border;
button.Editor = c1Editor1;
toolStrip1.Items.Add(button);</code></pre>

  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_CommandSplitButton_Border">Border</td>
        <td><p>Border</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_CommandSplitButton_None">None</td>
        <td><p>Empty command.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
