# C1.Framework.IControlHostElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_IControlHostElement" data-uid="C1.Framework.IControlHostElement" class="text-break">IControlHostElement Interface
</h1>
  <div class="markdown level0 summary"><p>Interface implemented by WinForms controls hosted in X elements.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_IControlHostElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IControlHostElement</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IControlHostElement</code></pre>
  </div>
  <h5 id="C1_Framework_IControlHostElement_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This interface allows the <a class="xref" href="C1.Framework.XView.html">XView</a> control to manage WinForms controls
contained in C1.Framework elements.</p>
</div>
  <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="C1_Framework_IControlHostElement_Control" data-uid="C1.Framework.IControlHostElement.Control">
          <a class="xref" href="C1.Framework.IControlHostElement.Control.html#C1_Framework_IControlHostElement_Control">Control</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.Framework.IControlHostElement.Control.html#C1_Framework_IControlHostElement_Control">Control</a> that this <a class="xref" href="C1.Framework.Element.html">Element</a> is hosting.</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="C1_Framework_IControlHostElement_UpdateControlBounds" data-uid="C1.Framework.IControlHostElement.UpdateControlBounds">
          <a class="xref" href="C1.Framework.IControlHostElement.UpdateControlBounds.html#C1_Framework_IControlHostElement_UpdateControlBounds">UpdateControlBounds()</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the hosted control bounds to match the element's current bounds.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
