# FarPoint.Win.ControlBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_ControlBase" data-uid="FarPoint.Win.ControlBase" class="text-break">ControlBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents the common basis (base class) for FarPoint controls.</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">ControlBase</span></div>
      <div class="level5"><a class="xref" href="FarPoint.Win.FpHyperlink.html">FpHyperlink</a></div>
      <div class="level5"><a class="xref" href="FarPoint.Win.FpMultiOption.html">FpMultiOption</a></div>
      <div class="level5"><a class="xref" href="FarPoint.Win.FpProgress.html">FpProgress</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_ControlBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ControlBase : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ControlBase
    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_ControlBase__ctor" data-uid="FarPoint.Win.ControlBase.#ctor">
          <a class="xref" href="FarPoint.Win.ControlBase.-ctor.html#FarPoint_Win_ControlBase__ctor">ControlBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new base class for controls.</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_ControlBase_GetAdjustedClientRectangle_System_Drawing_Rectangle_FarPoint_Win_Inset_FarPoint_Win_Inset_" data-uid="FarPoint.Win.ControlBase.GetAdjustedClientRectangle(System.Drawing.Rectangle,FarPoint.Win.Inset,FarPoint.Win.Inset)">
          <a class="xref" href="FarPoint.Win.ControlBase.GetAdjustedClientRectangle.html#FarPoint_Win_ControlBase_GetAdjustedClientRectangle_System_Drawing_Rectangle_FarPoint_Win_Inset_FarPoint_Win_Inset_">GetAdjustedClientRectangle(Rectangle, Inset, Inset)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the adjusted client rectangle for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ControlBase_SetBoundingRectangle_System_Drawing_Rectangle_FarPoint_Win_Inset_FarPoint_Win_Inset_" data-uid="FarPoint.Win.ControlBase.SetBoundingRectangle(System.Drawing.Rectangle,FarPoint.Win.Inset,FarPoint.Win.Inset)">
          <a class="xref" href="FarPoint.Win.ControlBase.SetBoundingRectangle.html#FarPoint_Win_ControlBase_SetBoundingRectangle_System_Drawing_Rectangle_FarPoint_Win_Inset_FarPoint_Win_Inset_">SetBoundingRectangle(Rectangle, Inset, Inset)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the bounds for the client rectangle for the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_ControlBase_SetClientSize_System_Drawing_Rectangle_" data-uid="FarPoint.Win.ControlBase.SetClientSize(System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.ControlBase.SetClientSize.html#FarPoint_Win_ControlBase_SetClientSize_System_Drawing_Rectangle_">SetClientSize(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the client rectangle size for the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
