# FarPoint.Win.Spread.ZoomSliderStatusBarElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_ZoomSliderStatusBarElement" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement" class="text-break">ZoomSliderStatusBarElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents the status bar element that displays the zoom slider with the zoom out and zoom in 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.Spread.FpBaseStatusBarElement.html">FpBaseStatusBarElement</a></div>
    <div class="level2"><span class="xref">ZoomSliderStatusBarElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IFpStatusBarElement.html">IFpStatusBarElement</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ZoomSliderStatusBarElement._a))]
public class ZoomSliderStatusBarElement : FpBaseStatusBarElement, IFpStatusBarElement, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ZoomSliderStatusBarElement._a))&gt;
Public Class ZoomSliderStatusBarElement
    Inherits FpBaseStatusBarElement
    Implements IFpStatusBarElement, 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_Spread_ZoomSliderStatusBarElement__ctor" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.-ctor.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement__ctor">ZoomSliderStatusBarElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new zoom slider.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement__ctor_System_Boolean_FarPoint_Win_Spread_ElementAlign_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.#ctor(System.Boolean,FarPoint.Win.Spread.ElementAlign)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.-ctor.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement__ctor_System_Boolean_FarPoint_Win_Spread_ElementAlign_">ZoomSliderStatusBarElement(bool, ElementAlign)</a>
        </td>
        <td class="markdown level1 summary"><p>Instantiate a new ZoomStatusBarElement object.</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_Spread_ZoomSliderStatusBarElement_ActiveSheetChangeHandler_System_Object_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.ActiveSheetChangeHandler(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.ActiveSheetChangeHandler.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_ActiveSheetChangeHandler_System_Object_System_EventArgs_">ActiveSheetChangeHandler(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handle active sheet changed event</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_CalculateValue" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.CalculateValue">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.CalculateValue.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_CalculateValue">CalculateValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate value of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.Dopaint(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.Dopaint.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_">Dopaint(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the element to the graphics object using the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_GetPreferedWidth" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.GetPreferedWidth">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.GetPreferedWidth.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_GetPreferedWidth">GetPreferedWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the preferred width of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_GetTextTip_System_Drawing_Point_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.GetTextTip(System.Drawing.Point)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.GetTextTip.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_GetTextTip_System_Drawing_Point_">GetTextTip(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text tip when the mouse moves over the zoom slider.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnAttachSpreadContext" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnAttachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnAttachSpreadContext.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnAttachSpreadContext">OnAttachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls this function when attaching the spread context to the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnDetachSpreadContext" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnDetachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnDetachSpreadContext.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnDetachSpreadContext">OnDetachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls this function when detaching the spread context from the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseDown.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseDown_System_Windows_Forms_MouseEventArgs_">OnMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse down event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseLeave_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseLeave(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseLeave.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseLeave_System_EventArgs_">OnMouseLeave(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse leave event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseMove.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse move event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnMouseUp.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the OnMouseUp event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnValueChanged_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnValueChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.OnValueChanged.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ValueChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_SheetViewEndInitHandler_System_Object_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.SheetViewEndInitHandler(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.SheetViewEndInitHandler.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_SheetViewEndInitHandler_System_Object_System_EventArgs_">SheetViewEndInitHandler(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Sheet view end init handler</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomSliderStatusBarElement_ZoomChanged_System_Object_FarPoint_Win_Spread_SheetViewPropertyChangeEventArgs_" data-uid="FarPoint.Win.Spread.ZoomSliderStatusBarElement.ZoomChanged(System.Object,FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.ZoomChanged.html#FarPoint_Win_Spread_ZoomSliderStatusBarElement_ZoomChanged_System_Object_FarPoint_Win_Spread_SheetViewPropertyChangeEventArgs_">ZoomChanged(object, SheetViewPropertyChangeEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the zoom changed event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
