# FarPoint.Win.Spread.FpBaseStatusBarElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_FpBaseStatusBarElement" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement" class="text-break">FpBaseStatusBarElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents the basis for all status bar elements.</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"><span class="xref">FpBaseStatusBarElement</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.FpStatusBarTextElement.html">FpStatusBarTextElement</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.ZoomSliderStatusBarElement.html">ZoomSliderStatusBarElement</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.html">ZoomStatusBarElement</a></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_FpBaseStatusBarElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class FpBaseStatusBarElement : IFpStatusBarElement, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class 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_FpBaseStatusBarElement__ctor" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.-ctor.html#FarPoint_Win_Spread_FpBaseStatusBarElement__ctor">FpBaseStatusBarElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Instantiate a FpBaseStatusBarElement 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_Spread_FpBaseStatusBarElement_align" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.align">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.align.html">align</a>
        </td>
        <td class="markdown level1 summary"><p>Align setting of a status bar element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_bound" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.bound">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.bound.html">bound</a>
        </td>
        <td class="markdown level1 summary"><p>represent the rectangle bounding the eelements</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_visible" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.visible">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.visible.html">visible</a>
        </td>
        <td class="markdown level1 summary"><p>The visible state of a status bar element.</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_Spread_FpBaseStatusBarElement_Align" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Align">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Align_1.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Align">Align</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element alignment in the status bar.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_MenuText" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.MenuText">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.MenuText.html#FarPoint_Win_Spread_FpBaseStatusBarElement_MenuText">MenuText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text of element in context menu.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_Owner" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Owner">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Owner.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the status bar that contains the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_Text" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Text">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Text.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element name.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_ValueText" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.ValueText">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.ValueText.html#FarPoint_Win_Spread_FpBaseStatusBarElement_ValueText">ValueText</a>
        </td>
        <td class="markdown level1 summary"><p>Get value as string type</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_Visible" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Visible">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Visible_1.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the element is visible.</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_FpBaseStatusBarElement_CalculateValue" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.CalculateValue">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.CalculateValue.html#FarPoint_Win_Spread_FpBaseStatusBarElement_CalculateValue">CalculateValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate value of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Deserialize.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Dopaint(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Dopaint.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_">Dopaint(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_FireOnChanged_System_String_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.FireOnChanged(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.FireOnChanged.html#FarPoint_Win_Spread_FpBaseStatusBarElement_FireOnChanged_System_String_">FireOnChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Fire event when the element is changed</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_GetPreferedWidth" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.GetPreferedWidth">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.GetPreferedWidth.html#FarPoint_Win_Spread_FpBaseStatusBarElement_GetPreferedWidth">GetPreferedWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the preferred width of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_GetTextTip_System_Drawing_Point_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.GetTextTip(System.Drawing.Point)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.GetTextTip.html#FarPoint_Win_Spread_FpBaseStatusBarElement_GetTextTip_System_Drawing_Point_">GetTextTip(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the text tip when the mouse moves over the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_OnAttachSpreadContext" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnAttachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnAttachSpreadContext.html#FarPoint_Win_Spread_FpBaseStatusBarElement_OnAttachSpreadContext">OnAttachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls the function when attaching the spread context to the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_OnDetachSpreadContext" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnDetachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnDetachSpreadContext.html#FarPoint_Win_Spread_FpBaseStatusBarElement_OnDetachSpreadContext">OnDetachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls the function when detaching the spread context to the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseDown.html#FarPoint_Win_Spread_FpBaseStatusBarElement_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_FpBaseStatusBarElement_OnMouseLeave_System_EventArgs_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseLeave(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseLeave.html#FarPoint_Win_Spread_FpBaseStatusBarElement_OnMouseLeave_System_EventArgs_">OnMouseLeave(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the mouse leave event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseMove.html#FarPoint_Win_Spread_FpBaseStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the mouse move event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnMouseUp.html#FarPoint_Win_Spread_FpBaseStatusBarElement_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_FpBaseStatusBarElement_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.Serialize.html#FarPoint_Win_Spread_FpBaseStatusBarElement_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FpBaseStatusBarElement_SetBound_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.SetBound(System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.SetBound.html#FarPoint_Win_Spread_FpBaseStatusBarElement_SetBound_System_Drawing_Rectangle_">SetBound(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the element boundary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_FpBaseStatusBarElement_OnChanged" data-uid="FarPoint.Win.Spread.FpBaseStatusBarElement.OnChanged">
          <a class="xref" href="FarPoint.Win.Spread.FpBaseStatusBarElement.OnChanged.html">OnChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the event that fires when the element is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
