# C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton" class="text-break">C1EditorToolStripSplitButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents a toolstrip split button which performs a command in a linked <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a> control.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripdropdownitem">ToolStripDropDownItem</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripsplitbutton">ToolStripSplitButton</a></div>
    <div class="level6"><span class="xref">C1EditorToolStripSplitButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </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_C1EditorToolStripSplitButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1EditorToolStripSplitButton : ToolStripSplitButton, IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1EditorToolStripSplitButton
    Inherits ToolStripSplitButton
    Implements IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Use this class to add a <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a>-related split button to a ToolStrip.</p>
</div>
  <h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_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="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton__ctor" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.#ctor">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.-ctor.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton__ctor">C1EditorToolStripSplitButton()</a>
        </td>
        <td class="markdown level1 summary"></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="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Checked" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Checked">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Checked.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Checked">Checked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the button is in the checked state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Command" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Command">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Command.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Editor" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Editor">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.Editor.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the editor.</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="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnButtonClick_System_EventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnButtonClick(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnButtonClick.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnButtonClick_System_EventArgs_">OnButtonClick(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnButtonClick.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnCommandChanged" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnCommandChanged">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnCommandChanged.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnCommandChanged">OnCommandChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the command is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnDropDownItemClicked_System_Windows_Forms_ToolStripItemClickedEventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnDropDownItemClicked(System.Windows.Forms.ToolStripItemClickedEventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnDropDownItemClicked.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnDropDownItemClicked_System_Windows_Forms_ToolStripItemClickedEventArgs_">OnDropDownItemClicked(ToolStripItemClickedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnDropDownItemClicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnEditorChanged" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnEditorChanged">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnEditorChanged.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnEditorChanged">OnEditorChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the editor is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnEditorChanging" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnEditorChanging">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnEditorChanging.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnEditorChanging">OnEditorChanging()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the editor is changing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripSplitButton.OnPaint.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripSplitButton_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnPaint.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
