# C1.Framework.IView

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_IView" data-uid="C1.Framework.IView" class="text-break">IView Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the methods and properties of host control for C1Framwork 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_IView_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IView</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IView</code></pre>
  </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_IView_DeviceDpi" data-uid="C1.Framework.IView.DeviceDpi">
          <a class="xref" href="C1.Framework.IView.DeviceDpi.html#C1_Framework_IView_DeviceDpi">DeviceDpi</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the DPI value for the display device where the control is currently being displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_Element" data-uid="C1.Framework.IView.Element">
          <a class="xref" href="C1.Framework.IView.Element.html#C1_Framework_IView_Element">Element</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element hosted by this <a class="xref" href="C1.Framework.IView.html">IView</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_Focused" data-uid="C1.Framework.IView.Focused">
          <a class="xref" href="C1.Framework.IView.Focused.html#C1_Framework_IView_Focused">Focused</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the control has input focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_FocusedElement" data-uid="C1.Framework.IView.FocusedElement">
          <a class="xref" href="C1.Framework.IView.FocusedElement.html#C1_Framework_IView_FocusedElement">FocusedElement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element that has the focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_HandleElementFocus" data-uid="C1.Framework.IView.HandleElementFocus">
          <a class="xref" href="C1.Framework.IView.HandleElementFocus.html#C1_Framework_IView_HandleElementFocus">HandleElementFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control should handle the focus within contained elements.</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_IView_CheckHover" data-uid="C1.Framework.IView.CheckHover">
          <a class="xref" href="C1.Framework.IView.CheckHover.html#C1_Framework_IView_CheckHover">CheckHover()</a>
        </td>
        <td class="markdown level1 summary"><p>Checks the element under the mouse and updates the control state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_Focus_C1_Framework_Element_" data-uid="C1.Framework.IView.Focus(C1.Framework.Element)">
          <a class="xref" href="C1.Framework.IView.Focus.html#C1_Framework_IView_Focus_C1_Framework_Element_">Focus(Element)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the focus to a given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_GetBounds_C1_Framework_Element_" data-uid="C1.Framework.IView.GetBounds(C1.Framework.Element)">
          <a class="xref" href="C1.Framework.IView.GetBounds.html#C1_Framework_IView_GetBounds_C1_Framework_Element_">GetBounds(Element)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the rectangle that contains a given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_GetBounds_C1_Framework_Element_System_Boolean_System_Boolean_" data-uid="C1.Framework.IView.GetBounds(C1.Framework.Element,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Framework.IView.GetBounds.html#C1_Framework_IView_GetBounds_C1_Framework_Element_System_Boolean_System_Boolean_">GetBounds(Element, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the rectangle that contains a given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_GetUiaItem_System_Boolean_C1_Win_Accessibility_UiaItem_" data-uid="C1.Framework.IView.GetUiaItem(System.Boolean,C1.Win.Accessibility.UiaItem)">
          <a class="xref" href="C1.Framework.IView.GetUiaItem.html#C1_Framework_IView_GetUiaItem_System_Boolean_C1_Win_Accessibility_UiaItem_">GetUiaItem(bool, UiaItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets UI Automation object of this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_HitTest" data-uid="C1.Framework.IView.HitTest">
          <a class="xref" href="C1.Framework.IView.HitTest.html#C1_Framework_IView_HitTest">HitTest()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the hit-testable element under the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_Invalidate_C1_Framework_Element_" data-uid="C1.Framework.IView.Invalidate(C1.Framework.Element)">
          <a class="xref" href="C1.Framework.IView.Invalidate.html#C1_Framework_IView_Invalidate_C1_Framework_Element_">Invalidate(Element)</a>
        </td>
        <td class="markdown level1 summary"><p>Invalidates the contained element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_IsInputKey_System_Windows_Forms_Control_System_Windows_Forms_Keys_" data-uid="C1.Framework.IView.IsInputKey(System.Windows.Forms.Control,System.Windows.Forms.Keys)">
          <a class="xref" href="C1.Framework.IView.IsInputKey.html#C1_Framework_IView_IsInputKey_System_Windows_Forms_Control_System_Windows_Forms_Keys_">IsInputKey(Control, Keys)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal version of IsInputKey that should be called by hosted controls in order to
allow the view to handle tab keys, arrows, etc.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_LogicalToDeviceUnits_System_Int32_" data-uid="C1.Framework.IView.LogicalToDeviceUnits(System.Int32)">
          <a class="xref" href="C1.Framework.IView.LogicalToDeviceUnits.html#C1_Framework_IView_LogicalToDeviceUnits_System_Int32_">LogicalToDeviceUnits(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a Logical DPI value to its equivalent DeviceUnit DPI value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_RefreshInnerUiaItems_System_Object_" data-uid="C1.Framework.IView.RefreshInnerUiaItems(System.Object)">
          <a class="xref" href="C1.Framework.IView.RefreshInnerUiaItems.html#C1_Framework_IView_RefreshInnerUiaItems_System_Object_">RefreshInnerUiaItems(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Refreshes inner items in cached UIA container.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_ResetDisabledElement" data-uid="C1.Framework.IView.ResetDisabledElement">
          <a class="xref" href="C1.Framework.IView.ResetDisabledElement.html#C1_Framework_IView_ResetDisabledElement">ResetDisabledElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the hovered and entered state when this element are disabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_IView_Update" data-uid="C1.Framework.IView.Update">
          <a class="xref" href="C1.Framework.IView.Update.html#C1_Framework_IView_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>

</div>
