# FarPoint.Win.SEditButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_SEditButton" data-uid="FarPoint.Win.SEditButton" class="text-break">SEditButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents a button for an editing 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="FarPoint.Win.ElementWindowless.html">ElementWindowless</a></div>
    <div class="level2"><span class="xref">SEditButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_SEditButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SEditButton : ElementWindowless, ISerializeSupport, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SEditButton
    Inherits ElementWindowless
    Implements ISerializeSupport, IDisposable</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_Win_SEditButton__ctor" data-uid="FarPoint.Win.SEditButton.#ctor">
          <a class="xref" href="FarPoint.Win.SEditButton.-ctor.html#FarPoint_Win_SEditButton__ctor">SEditButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new button for an editing control.</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_Win_SEditButton_Dispose" data-uid="FarPoint.Win.SEditButton.Dispose">
          <a class="xref" href="FarPoint.Win.SEditButton.Dispose.html#FarPoint_Win_SEditButton_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Disposes and frees up resources.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_Dispose_System_Boolean_" data-uid="FarPoint.Win.SEditButton.Dispose(System.Boolean)">
          <a class="xref" href="FarPoint.Win.SEditButton.Dispose.html#FarPoint_Win_SEditButton_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Disposes and frees up resources.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_DoMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.DoMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.DoMouseUp.html#FarPoint_Win_SEditButton_DoMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">DoMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the mouse up processing.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_InitializeButtons" data-uid="FarPoint.Win.SEditButton.InitializeButtons">
          <a class="xref" href="FarPoint.Win.SEditButton.InitializeButtons.html#FarPoint_Win_SEditButton_InitializeButtons">InitializeButtons()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the control elements.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnDropDownMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnDropDownMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnDropDownMouseDown.html#FarPoint_Win_SEditButton_OnDropDownMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnDropDownMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on drop-down.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnDropDownMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnDropDownMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnDropDownMouseUp.html#FarPoint_Win_SEditButton_OnDropDownMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnDropDownMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on drop-down.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnPopUpMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnPopUpMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnPopUpMouseDown.html#FarPoint_Win_SEditButton_OnPopUpMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnPopUpMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on pop-up.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnPopUpMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnPopUpMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnPopUpMouseUp.html#FarPoint_Win_SEditButton_OnPopUpMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnPopUpMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on pop-up.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSlideLeftMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSlideLeftMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSlideLeftMouseDown.html#FarPoint_Win_SEditButton_OnSlideLeftMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnSlideLeftMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on slide left.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSlideLeftMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSlideLeftMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSlideLeftMouseUp.html#FarPoint_Win_SEditButton_OnSlideLeftMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnSlideLeftMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on slide left.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSlideRightMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSlideRightMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSlideRightMouseDown.html#FarPoint_Win_SEditButton_OnSlideRightMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnSlideRightMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on slide right.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSlideRightMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSlideRightMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSlideRightMouseUp.html#FarPoint_Win_SEditButton_OnSlideRightMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnSlideRightMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on slide right.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSpinDownMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSpinDownMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSpinDownMouseDown.html#FarPoint_Win_SEditButton_OnSpinDownMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnSpinDownMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on a spin button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSpinDownMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSpinDownMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSpinDownMouseUp.html#FarPoint_Win_SEditButton_OnSpinDownMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnSpinDownMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on spin down.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSpinUpMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSpinUpMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSpinUpMouseDown.html#FarPoint_Win_SEditButton_OnSpinUpMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnSpinUpMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is pressed on the spin button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_OnSpinUpMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.SEditButton.OnSpinUpMouseUp(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.SEditButton.OnSpinUpMouseUp.html#FarPoint_Win_SEditButton_OnSpinUpMouseUp_System_Object_System_Windows_Forms_MouseEventArgs_">OnSpinUpMouseUp(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the mouse is released on spin up.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_PaintBackColor_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.SEditButton.PaintBackColor(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.SEditButton.PaintBackColor.html#FarPoint_Win_SEditButton_PaintBackColor_System_Drawing_Graphics_System_Drawing_Rectangle_">PaintBackColor(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the background color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_SpecialResetState" data-uid="FarPoint.Win.SEditButton.SpecialResetState">
          <a class="xref" href="FarPoint.Win.SEditButton.SpecialResetState.html#FarPoint_Win_SEditButton_SpecialResetState">SpecialResetState()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the control to a specific state.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SEditButton_ToggleState" data-uid="FarPoint.Win.SEditButton.ToggleState">
          <a class="xref" href="FarPoint.Win.SEditButton.ToggleState.html#FarPoint_Win_SEditButton_ToggleState">ToggleState()</a>
        </td>
        <td class="markdown level1 summary"><p>Toggles the state of the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
