# FarPoint.Win.ElementControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_ElementControl" data-uid="FarPoint.Win.ElementControl" class="text-break">ElementControl Class
</h1>
  <div class="markdown level0 summary"><p>Represents a control element.</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.control">Control</a></div>
    <div class="level4"><span class="xref">ElementControl</span></div>
      <div class="level5"><a class="xref" href="FarPoint.Win.CanvasBase.html">CanvasBase</a></div>
      <div class="level5"><a class="xref" href="FarPoint.Win.SuperEditBase.html">SuperEditBase</a></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.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</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="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_ElementControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ElementControl : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ElementControl
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, 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_ElementControl__ctor" data-uid="FarPoint.Win.ElementControl.#ctor">
          <a class="xref" href="FarPoint.Win.ElementControl.-ctor.html#FarPoint_Win_ElementControl__ctor">ElementControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a control element (ElementControl object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl__ctor_System_Object_" data-uid="FarPoint.Win.ElementControl.#ctor(System.Object)">
          <a class="xref" href="FarPoint.Win.ElementControl.-ctor.html#FarPoint_Win_ElementControl__ctor_System_Object_">ElementControl(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a control element (ElementControl object) based on the 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_ElementControl_BACK_COLOR_DEFAULT" data-uid="FarPoint.Win.ElementControl.BACK_COLOR_DEFAULT">
          <a class="xref" href="FarPoint.Win.ElementControl.BACK_COLOR_DEFAULT.html">BACK_COLOR_DEFAULT</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the default color background for the element, namely SystemColors.Control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_FORE_COLOR_DEFAULT" data-uid="FarPoint.Win.ElementControl.FORE_COLOR_DEFAULT">
          <a class="xref" href="FarPoint.Win.ElementControl.FORE_COLOR_DEFAULT.html">FORE_COLOR_DEFAULT</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the default text color for the element, namely SystemColors.ControlText.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PICTURE_MARGIN_DEFAULT" data-uid="FarPoint.Win.ElementControl.PICTURE_MARGIN_DEFAULT">
          <a class="xref" href="FarPoint.Win.ElementControl.PICTURE_MARGIN_DEFAULT.html">PICTURE_MARGIN_DEFAULT</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the default picture margin for the element, namely 2 pixels.</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_ElementControl_About" data-uid="FarPoint.Win.ElementControl.About">
          <a class="xref" href="FarPoint.Win.ElementControl.About.html#FarPoint_Win_ElementControl_About">About</a>
        </td>
        <td class="markdown level1 summary"><p>Displays information about the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_AlignHorz" data-uid="FarPoint.Win.ElementControl.AlignHorz">
          <a class="xref" href="FarPoint.Win.ElementControl.AlignHorz.html#FarPoint_Win_ElementControl_AlignHorz">AlignHorz</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of the contents of the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_AlignText" data-uid="FarPoint.Win.ElementControl.AlignText">
          <a class="xref" href="FarPoint.Win.ElementControl.AlignText.html#FarPoint_Win_ElementControl_AlignText">AlignText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment of the text in the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_AlignVert" data-uid="FarPoint.Win.ElementControl.AlignVert">
          <a class="xref" href="FarPoint.Win.ElementControl.AlignVert.html#FarPoint_Win_ElementControl_AlignVert">AlignVert</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical alignment of the contents of the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_BackColor" data-uid="FarPoint.Win.ElementControl.BackColor">
          <a class="xref" href="FarPoint.Win.ElementControl.BackColor.html#FarPoint_Win_ElementControl_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_BackgroundImage" data-uid="FarPoint.Win.ElementControl.BackgroundImage">
          <a class="xref" href="FarPoint.Win.ElementControl.BackgroundImage.html#FarPoint_Win_ElementControl_BackgroundImage">BackgroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background image for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Border" data-uid="FarPoint.Win.ElementControl.Border">
          <a class="xref" href="FarPoint.Win.ElementControl.Border.html#FarPoint_Win_ElementControl_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the border for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_CanFocus" data-uid="FarPoint.Win.ElementControl.CanFocus">
          <a class="xref" href="FarPoint.Win.ElementControl.CanFocus.html#FarPoint_Win_ElementControl_CanFocus">CanFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control can receive focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ContainsFocus" data-uid="FarPoint.Win.ElementControl.ContainsFocus">
          <a class="xref" href="FarPoint.Win.ElementControl.ContainsFocus.html#FarPoint_Win_ElementControl_ContainsFocus">ContainsFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the element currently has the input focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_DrawFocusRectangle" data-uid="FarPoint.Win.ElementControl.DrawFocusRectangle">
          <a class="xref" href="FarPoint.Win.ElementControl.DrawFocusRectangle.html#FarPoint_Win_ElementControl_DrawFocusRectangle">DrawFocusRectangle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the drawing style of the focus rectangle in the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Elements" data-uid="FarPoint.Win.ElementControl.Elements">
          <a class="xref" href="FarPoint.Win.ElementControl.Elements.html#FarPoint_Win_ElementControl_Elements">Elements</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of IElement-derived objects that the current ElementControl contains.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Enabled" data-uid="FarPoint.Win.ElementControl.Enabled">
          <a class="xref" href="FarPoint.Win.ElementControl.Enabled.html#FarPoint_Win_ElementControl_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control can receive focus and respond to user actions.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Focused" data-uid="FarPoint.Win.ElementControl.Focused">
          <a class="xref" href="FarPoint.Win.ElementControl.Focused.html#FarPoint_Win_ElementControl_Focused">Focused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the control has focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Font" data-uid="FarPoint.Win.ElementControl.Font">
          <a class="xref" href="FarPoint.Win.ElementControl.Font.html#FarPoint_Win_ElementControl_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ForeColor" data-uid="FarPoint.Win.ElementControl.ForeColor">
          <a class="xref" href="FarPoint.Win.ElementControl.ForeColor.html#FarPoint_Win_ElementControl_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text color for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ForegroundImage" data-uid="FarPoint.Win.ElementControl.ForegroundImage">
          <a class="xref" href="FarPoint.Win.ElementControl.ForegroundImage.html#FarPoint_Win_ElementControl_ForegroundImage">ForegroundImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground image for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_MarginBottom" data-uid="FarPoint.Win.ElementControl.MarginBottom">
          <a class="xref" href="FarPoint.Win.ElementControl.MarginBottom.html#FarPoint_Win_ElementControl_MarginBottom">MarginBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin between the bottom of the control and its contents.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_MarginLeft" data-uid="FarPoint.Win.ElementControl.MarginLeft">
          <a class="xref" href="FarPoint.Win.ElementControl.MarginLeft.html#FarPoint_Win_ElementControl_MarginLeft">MarginLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin between the left edge of the control and its contents.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_MarginRight" data-uid="FarPoint.Win.ElementControl.MarginRight">
          <a class="xref" href="FarPoint.Win.ElementControl.MarginRight.html#FarPoint_Win_ElementControl_MarginRight">MarginRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin between the right edge of the control and its contents.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_MarginTop" data-uid="FarPoint.Win.ElementControl.MarginTop">
          <a class="xref" href="FarPoint.Win.ElementControl.MarginTop.html#FarPoint_Win_ElementControl_MarginTop">MarginTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin between the top of the control and its contents.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Name" data-uid="FarPoint.Win.ElementControl.Name">
          <a class="xref" href="FarPoint.Win.ElementControl.Name.html#FarPoint_Win_ElementControl_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name used in code to identify the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Picture" data-uid="FarPoint.Win.ElementControl.Picture">
          <a class="xref" href="FarPoint.Win.ElementControl.Picture.html#FarPoint_Win_ElementControl_Picture">Picture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the picture for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PictureMargin" data-uid="FarPoint.Win.ElementControl.PictureMargin">
          <a class="xref" href="FarPoint.Win.ElementControl.PictureMargin.html#FarPoint_Win_ElementControl_PictureMargin">PictureMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margin between the text and the picture.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PictureOrientation" data-uid="FarPoint.Win.ElementControl.PictureOrientation">
          <a class="xref" href="FarPoint.Win.ElementControl.PictureOrientation.html#FarPoint_Win_ElementControl_PictureOrientation">PictureOrientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation of the picture in the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PictureTransparencyColor" data-uid="FarPoint.Win.ElementControl.PictureTransparencyColor">
          <a class="xref" href="FarPoint.Win.ElementControl.PictureTransparencyColor.html#FarPoint_Win_ElementControl_PictureTransparencyColor">PictureTransparencyColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparency color for the picture in the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PictureTransparencyTolerance" data-uid="FarPoint.Win.ElementControl.PictureTransparencyTolerance">
          <a class="xref" href="FarPoint.Win.ElementControl.PictureTransparencyTolerance.html#FarPoint_Win_ElementControl_PictureTransparencyTolerance">PictureTransparencyTolerance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the picture transparency tolerance for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Rectangle" data-uid="FarPoint.Win.ElementControl.Rectangle">
          <a class="xref" href="FarPoint.Win.ElementControl.Rectangle.html#FarPoint_Win_ElementControl_Rectangle">Rectangle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rectangle in the client area of the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Redraw" data-uid="FarPoint.Win.ElementControl.Redraw">
          <a class="xref" href="FarPoint.Win.ElementControl.Redraw.html#FarPoint_Win_ElementControl_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_ElementControl_Selectable" data-uid="FarPoint.Win.ElementControl.Selectable">
          <a class="xref" href="FarPoint.Win.ElementControl.Selectable.html#FarPoint_Win_ElementControl_Selectable">Selectable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control can receive focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_State" data-uid="FarPoint.Win.ElementControl.State">
          <a class="xref" href="FarPoint.Win.ElementControl.State.html#FarPoint_Win_ElementControl_State">State</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element state for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Text" data-uid="FarPoint.Win.ElementControl.Text">
          <a class="xref" href="FarPoint.Win.ElementControl.Text.html#FarPoint_Win_ElementControl_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the contents of the control as a string matching exactly what is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_TextOrientation" data-uid="FarPoint.Win.ElementControl.TextOrientation">
          <a class="xref" href="FarPoint.Win.ElementControl.TextOrientation.html#FarPoint_Win_ElementControl_TextOrientation">TextOrientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation of the text in the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_TextWrap" data-uid="FarPoint.Win.ElementControl.TextWrap">
          <a class="xref" href="FarPoint.Win.ElementControl.TextWrap.html#FarPoint_Win_ElementControl_TextWrap">TextWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to automatically wrap text without line breaks in the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Visible" data-uid="FarPoint.Win.ElementControl.Visible">
          <a class="xref" href="FarPoint.Win.ElementControl.Visible.html#FarPoint_Win_ElementControl_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control 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_ElementControl_Focus_System_Boolean_" data-uid="FarPoint.Win.ElementControl.Focus(System.Boolean)">
          <a class="xref" href="FarPoint.Win.ElementControl.Focus.html#FarPoint_Win_ElementControl_Focus_System_Boolean_">Focus(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the focus to the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_GetControl" data-uid="FarPoint.Win.ElementControl.GetControl">
          <a class="xref" href="FarPoint.Win.ElementControl.GetControl.html#FarPoint_Win_ElementControl_GetControl">GetControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_GetElementStyle" data-uid="FarPoint.Win.ElementControl.GetElementStyle">
          <a class="xref" href="FarPoint.Win.ElementControl.GetElementStyle.html#FarPoint_Win_ElementControl_GetElementStyle">GetElementStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the style for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_GetFont" data-uid="FarPoint.Win.ElementControl.GetFont">
          <a class="xref" href="FarPoint.Win.ElementControl.GetFont.html#FarPoint_Win_ElementControl_GetFont">GetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current font or the default font if no font is specified.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnBackgroundImageChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnBackgroundImageChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnBackgroundImageChanged.html#FarPoint_Win_ElementControl_OnBackgroundImageChanged_System_Object_System_EventArgs_">OnBackgroundImageChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the BackgroundImageChanged event when the
background picture has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnClick_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnClick(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnClick.html#FarPoint_Win_ElementControl_OnClick_System_EventArgs_">OnClick(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Click event when the user
clicks with the cursor over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnDoubleClick_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnDoubleClick(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnDoubleClick.html#FarPoint_Win_ElementControl_OnDoubleClick_System_EventArgs_">OnDoubleClick(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the DoubleClick event when the user
double clicks with the cursor over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnForegroundImageChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnForegroundImageChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnForegroundImageChanged.html#FarPoint_Win_ElementControl_OnForegroundImageChanged_System_Object_System_EventArgs_">OnForegroundImageChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.ElementControl.ForegroundImageChanged.html">ForegroundImageChanged</a> event when the
foreground picture has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementControl.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnMouseDown.html#FarPoint_Win_ElementControl_OnMouseDown_System_Windows_Forms_MouseEventArgs_">OnMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the MouseDown event when the pointer button
is pressed while the cursor is over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementControl.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnMouseMove.html#FarPoint_Win_ElementControl_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the MouseMove event when the pointer is moved
within the control and the cursor is over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.ElementControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnMouseUp.html#FarPoint_Win_ElementControl_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the MouseUp event when the pointer button
is released while the cursor is over the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaint_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.ElementControl.OnPaint(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaint.html#FarPoint_Win_ElementControl_OnPaint_System_Drawing_Graphics_System_Drawing_Rectangle_">OnPaint(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the control (text and picture).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaint_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_ElementStyle_" data-uid="FarPoint.Win.ElementControl.OnPaint(System.Drawing.Graphics,System.Drawing.Rectangle,FarPoint.Win.ElementStyle)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaint.html#FarPoint_Win_ElementControl_OnPaint_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_ElementStyle_">OnPaint(Graphics, Rectangle, ElementStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the control (both text and picture) with an overriding style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaint_System_Windows_Forms_PaintEventArgs_" data-uid="FarPoint.Win.ElementControl.OnPaint(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaint.html#FarPoint_Win_ElementControl_OnPaint_System_Windows_Forms_PaintEventArgs_">OnPaint(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Paint event when the
element has been asked to repaint itself.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaintBackground_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.ElementControl.OnPaintBackground(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaintBackground.html#FarPoint_Win_ElementControl_OnPaintBackground_System_Drawing_Graphics_System_Drawing_Rectangle_">OnPaintBackground(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the background of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaintBackground_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_ElementStyle_" data-uid="FarPoint.Win.ElementControl.OnPaintBackground(System.Drawing.Graphics,System.Drawing.Rectangle,FarPoint.Win.ElementStyle)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaintBackground.html#FarPoint_Win_ElementControl_OnPaintBackground_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_ElementStyle_">OnPaintBackground(Graphics, Rectangle, ElementStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the background of the control with an overriding style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPaintBackground_System_Windows_Forms_PaintEventArgs_" data-uid="FarPoint.Win.ElementControl.OnPaintBackground(System.Windows.Forms.PaintEventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPaintBackground.html#FarPoint_Win_ElementControl_OnPaintBackground_System_Windows_Forms_PaintEventArgs_">OnPaintBackground(PaintEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the background of the control is painted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnParentChanged_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnParentChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnParentChanged.html#FarPoint_Win_ElementControl_OnParentChanged_System_EventArgs_">OnParentChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the ParentChanged event when the
parent control has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_OnPictureChanged_System_Object_System_EventArgs_" data-uid="FarPoint.Win.ElementControl.OnPictureChanged(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.ElementControl.OnPictureChanged.html#FarPoint_Win_ElementControl_OnPictureChanged_System_Object_System_EventArgs_">OnPictureChanged(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.ElementControl.PictureChanged.html">PictureChanged</a> event when the
picture has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetBackColor" data-uid="FarPoint.Win.ElementControl.ResetBackColor">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetBackColor.html#FarPoint_Win_ElementControl_ResetBackColor">ResetBackColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the background color of the control to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetBorder" data-uid="FarPoint.Win.ElementControl.ResetBorder">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetBorder.html#FarPoint_Win_ElementControl_ResetBorder">ResetBorder()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the border of the control to its default settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetElements" data-uid="FarPoint.Win.ElementControl.ResetElements">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetElements.html#FarPoint_Win_ElementControl_ResetElements">ResetElements()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the elements to their default settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetFont" data-uid="FarPoint.Win.ElementControl.ResetFont">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetFont.html#FarPoint_Win_ElementControl_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the font of the control to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetForeColor" data-uid="FarPoint.Win.ElementControl.ResetForeColor">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetForeColor.html#FarPoint_Win_ElementControl_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the text color of the control to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetPicture" data-uid="FarPoint.Win.ElementControl.ResetPicture">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetPicture.html#FarPoint_Win_ElementControl_ResetPicture">ResetPicture()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the picture for the control to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetPictureTransparencyColor" data-uid="FarPoint.Win.ElementControl.ResetPictureTransparencyColor">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetPictureTransparencyColor.html#FarPoint_Win_ElementControl_ResetPictureTransparencyColor">ResetPictureTransparencyColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the picture transparency color to its default color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetPictureTransparencyTolerance" data-uid="FarPoint.Win.ElementControl.ResetPictureTransparencyTolerance">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetPictureTransparencyTolerance.html#FarPoint_Win_ElementControl_ResetPictureTransparencyTolerance">ResetPictureTransparencyTolerance()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the transparency tolerance for a picture in the element to its default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ResetText" data-uid="FarPoint.Win.ElementControl.ResetText">
          <a class="xref" href="FarPoint.Win.ElementControl.ResetText.html#FarPoint_Win_ElementControl_ResetText">ResetText()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the contents to the default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Select_System_Boolean_" data-uid="FarPoint.Win.ElementControl.Select(System.Boolean)">
          <a class="xref" href="FarPoint.Win.ElementControl.Select.html#FarPoint_Win_ElementControl_Select_System_Boolean_">Select(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Activates the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_SetBounds_System_Drawing_Rectangle_" data-uid="FarPoint.Win.ElementControl.SetBounds(System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.ElementControl.SetBounds.html#FarPoint_Win_ElementControl_SetBounds_System_Drawing_Rectangle_">SetBounds(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the bounds of the element to the position and size of the specified bounding rectangle object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_SetBounds_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.ElementControl.SetBounds(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.ElementControl.SetBounds.html#FarPoint_Win_ElementControl_SetBounds_System_Int32_System_Int32_System_Int32_System_Int32_">SetBounds(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the bounds of the element to the position and size of the bounding rectangle of the specified dimensions.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_SetElementStyle_FarPoint_Win_ElementStyle_" data-uid="FarPoint.Win.ElementControl.SetElementStyle(FarPoint.Win.ElementStyle)">
          <a class="xref" href="FarPoint.Win.ElementControl.SetElementStyle.html#FarPoint_Win_ElementControl_SetElementStyle_FarPoint_Win_ElementStyle_">SetElementStyle(ElementStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the style for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ShouldSerializePictureTransparencyTolerance" data-uid="FarPoint.Win.ElementControl.ShouldSerializePictureTransparencyTolerance">
          <a class="xref" href="FarPoint.Win.ElementControl.ShouldSerializePictureTransparencyTolerance.html#FarPoint_Win_ElementControl_ShouldSerializePictureTransparencyTolerance">ShouldSerializePictureTransparencyTolerance()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the PictureTransparencyTolerance property should be persisted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_ToggleState" data-uid="FarPoint.Win.ElementControl.ToggleState">
          <a class="xref" href="FarPoint.Win.ElementControl.ToggleState.html#FarPoint_Win_ElementControl_ToggleState">ToggleState()</a>
        </td>
        <td class="markdown level1 summary"><p>Toggles the state of the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_Update" data-uid="FarPoint.Win.ElementControl.Update">
          <a class="xref" href="FarPoint.Win.ElementControl.Update.html#FarPoint_Win_ElementControl_Update">Update()</a>
        </td>
        <td class="markdown level1 summary"><p>Causes the control to redraw the invalidated regions within its client area.</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_ElementControl_ForegroundImageChanged" data-uid="FarPoint.Win.ElementControl.ForegroundImageChanged">
          <a class="xref" href="FarPoint.Win.ElementControl.ForegroundImageChanged.html">ForegroundImageChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the foreground image in the control has changed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ElementControl_PictureChanged" data-uid="FarPoint.Win.ElementControl.PictureChanged">
          <a class="xref" href="FarPoint.Win.ElementControl.PictureChanged.html">PictureChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the picture in the control has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
