# FarPoint.Win.ElementWithButtons

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_ElementWithButtons" data-uid="FarPoint.Win.ElementWithButtons" class="text-break">ElementWithButtons Class
</h1>
  <div class="markdown level0 summary"><p>Represents windowless elements that display buttons.</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">ElementWithButtons</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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_ElementWithButtons_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ElementWithButtons : ElementWindowless, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ElementWithButtons
    Inherits ElementWindowless
    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_Win_ElementWithButtons__ctor" data-uid="FarPoint.Win.ElementWithButtons.#ctor">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.-ctor.html#FarPoint_Win_ElementWithButtons__ctor">ElementWithButtons()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new element with buttons with default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons__ctor_System_Object_" data-uid="FarPoint.Win.ElementWithButtons.#ctor(System.Object)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.-ctor.html#FarPoint_Win_ElementWithButtons__ctor_System_Object_">ElementWithButtons(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new element with buttons by copying a specified object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_dropDown" data-uid="FarPoint.Win.ElementWithButtons.dropDown">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.dropDown.html">dropDown</a>
        </td>
        <td class="markdown level1 summary"><p>Drop-down button</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_popUp" data-uid="FarPoint.Win.ElementWithButtons.popUp">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.popUp.html">popUp</a>
        </td>
        <td class="markdown level1 summary"><p>Pop-up button</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_scrollDown" data-uid="FarPoint.Win.ElementWithButtons.scrollDown">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.scrollDown.html">scrollDown</a>
        </td>
        <td class="markdown level1 summary"><p>Scroll-down button</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_scrollUp" data-uid="FarPoint.Win.ElementWithButtons.scrollUp">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.scrollUp.html">scrollUp</a>
        </td>
        <td class="markdown level1 summary"><p>Spin-up button</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_Win_ElementWithButtons_ButtonStyle" data-uid="FarPoint.Win.ElementWithButtons.ButtonStyle">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ButtonStyle.html#FarPoint_Win_ElementWithButtons_ButtonStyle">ButtonStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button style for ElementsWithButtons objects.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_ButtonWidth" data-uid="FarPoint.Win.ElementWithButtons.ButtonWidth">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ButtonWidth.html#FarPoint_Win_ElementWithButtons_ButtonWidth">ButtonWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button width.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_DropDownButton" data-uid="FarPoint.Win.ElementWithButtons.DropDownButton">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.DropDownButton.html#FarPoint_Win_ElementWithButtons_DropDownButton">DropDownButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether a drop-down button has been implemented.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_PopUpButton" data-uid="FarPoint.Win.ElementWithButtons.PopUpButton">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.PopUpButton.html#FarPoint_Win_ElementWithButtons_PopUpButton">PopUpButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether a pop-up button has been implemented.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_Redraw" data-uid="FarPoint.Win.ElementWithButtons.Redraw">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.Redraw.html#FarPoint_Win_ElementWithButtons_Redraw">Redraw</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the element is allowed to paint.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_ScrollDownButton" data-uid="FarPoint.Win.ElementWithButtons.ScrollDownButton">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ScrollDownButton.html#FarPoint_Win_ElementWithButtons_ScrollDownButton">ScrollDownButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether a scroll down button has been implemented.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_ScrollUpButton" data-uid="FarPoint.Win.ElementWithButtons.ScrollUpButton">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ScrollUpButton.html#FarPoint_Win_ElementWithButtons_ScrollUpButton">ScrollUpButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether a scroll up button has been implemented.</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_ElementWithButtons_OnDropClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnDropClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnDropClick.html#FarPoint_Win_ElementWithButtons_OnDropClick_System_Object_System_EventArgs_">OnDropClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the Click events that occur in a drop-down button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnDropDoubleClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnDropDoubleClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnDropDoubleClick.html#FarPoint_Win_ElementWithButtons_OnDropDoubleClick_System_Object_System_EventArgs_">OnDropDoubleClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the DoubleClick events that occur in a drop-down button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnPopUpClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnPopUpClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnPopUpClick.html#FarPoint_Win_ElementWithButtons_OnPopUpClick_System_Object_System_EventArgs_">OnPopUpClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the Click events that occur in the pop-up button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnPopUpDoubleClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnPopUpDoubleClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnPopUpDoubleClick.html#FarPoint_Win_ElementWithButtons_OnPopUpDoubleClick_System_Object_System_EventArgs_">OnPopUpDoubleClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the DoubleClick events that occur in the pop-up button.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnScrollClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnScrollClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnScrollClick.html#FarPoint_Win_ElementWithButtons_OnScrollClick_System_Object_System_EventArgs_">OnScrollClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the Click events that occur in scroll buttons.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnScrollDoubleClick_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnScrollDoubleClick(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnScrollDoubleClick.html#FarPoint_Win_ElementWithButtons_OnScrollDoubleClick_System_Object_System_EventArgs_">OnScrollDoubleClick(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the DoubleClick events that occur in scroll buttons.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_OnScrollMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementWithButtons.OnScrollMouseDown(System.Object,System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.OnScrollMouseDown.html#FarPoint_Win_ElementWithButtons_OnScrollMouseDown_System_Object_System_Windows_Forms_MouseEventArgs_">OnScrollMouseDown(object, MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the MouseDown events that occur in scroll buttons.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_ProcessMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementWithButtons.ProcessMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ProcessMouseDown.html#FarPoint_Win_ElementWithButtons_ProcessMouseDown_System_Windows_Forms_MouseEventArgs_">ProcessMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the MouseDown event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_ProcessMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementWithButtons.ProcessMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.ProcessMouseUp.html#FarPoint_Win_ElementWithButtons_ProcessMouseUp_System_Windows_Forms_MouseEventArgs_">ProcessMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the MouseUp event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementWithButtons_SetBoundsFloat_System_Single_System_Single_System_Single_System_Single_" data-uid="FarPoint.Win.ElementWithButtons.SetBoundsFloat(System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="FarPoint.Win.ElementWithButtons.SetBoundsFloat.html#FarPoint_Win_ElementWithButtons_SetBoundsFloat_System_Single_System_Single_System_Single_System_Single_">SetBoundsFloat(float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the bounds of the element to the location and size of the bounding rectangle of the specified dimensions.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
