# C1.Framework.Html.HtmlElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Html_HtmlElement" data-uid="C1.Framework.Html.HtmlElement" class="text-break">HtmlElement Class
</h1>
  <div class="markdown level0 summary"><p>Class that represents a generic Html <a class="xref" href="C1.Framework.Element.html">Element</a>.</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="C1.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.BasePanel.html">BasePanel</a></div>
    <div class="level3"><a class="xref" href="C1.Framework.ParagraphElement.html">ParagraphElement</a></div>
    <div class="level4"><a class="xref" href="C1.Framework.Html.HtmlDiv.html">HtmlDiv</a></div>
    <div class="level5"><span class="xref">HtmlElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Html.html">C1.Framework.Html</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_Html_HtmlElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HtmlElement : HtmlDiv, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class HtmlElement
    Inherits HtmlDiv
    Implements ISupportUia</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="C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_Boolean_" data-uid="C1.Framework.Html.HtmlElement.#ctor(C1.Framework.Style,System.Boolean)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.-ctor.html#C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_Boolean_">HtmlElement(Style, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Html.HtmlElement.html">HtmlElement</a> class with the specified style options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_String_System_Boolean_" data-uid="C1.Framework.Html.HtmlElement.#ctor(C1.Framework.Style,System.String,System.Boolean)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.-ctor.html#C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_String_System_Boolean_">HtmlElement(Style, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Html.HtmlElement.html">HtmlElement</a> class with the specified htm content and style options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_String_System_Boolean_System_Int32_" data-uid="C1.Framework.Html.HtmlElement.#ctor(C1.Framework.Style,System.String,System.Boolean,System.Int32)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.-ctor.html#C1_Framework_Html_HtmlElement__ctor_C1_Framework_Style_System_String_System_Boolean_System_Int32_">HtmlElement(Style, string, bool, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Html.HtmlElement.html">HtmlElement</a> class with the specified htm content and style options.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement__ctor_System_Boolean_" data-uid="C1.Framework.Html.HtmlElement.#ctor(System.Boolean)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.-ctor.html#C1_Framework_Html_HtmlElement__ctor_System_Boolean_">HtmlElement(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Html.HtmlElement.html">HtmlElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement__ctor_System_String_System_Boolean_" data-uid="C1.Framework.Html.HtmlElement.#ctor(System.String,System.Boolean)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.-ctor.html#C1_Framework_Html_HtmlElement__ctor_System_String_System_Boolean_">HtmlElement(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Html.HtmlElement.html">HtmlElement</a> class with the specified htm content.</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="C1_Framework_Html_HtmlElement_Connected" data-uid="C1.Framework.Html.HtmlElement.Connected">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Connected.html#C1_Framework_Html_HtmlElement_Connected">Connected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value determining whether content should be downloaded at runtime.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_HasAnimatedImages" data-uid="C1.Framework.Html.HtmlElement.HasAnimatedImages">
          <a class="xref" href="C1.Framework.Html.HtmlElement.HasAnimatedImages.html#C1_Framework_Html_HtmlElement_HasAnimatedImages">HasAnimatedImages</a>
        </td>
        <td class="markdown level1 summary"><p>Get the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value specifying whether the current element contains animated images.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Html" data-uid="C1.Framework.Html.HtmlElement.Html">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Html.html#C1_Framework_Html_HtmlElement_Html">Html</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the html content to display.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_ImageDictionary" data-uid="C1.Framework.Html.HtmlElement.ImageDictionary">
          <a class="xref" href="C1.Framework.Html.HtmlElement.ImageDictionary.html#C1_Framework_Html_HtmlElement_ImageDictionary">ImageDictionary</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a> containing image cache.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_PlaneText" data-uid="C1.Framework.Html.HtmlElement.PlaneText">
          <a class="xref" href="C1.Framework.Html.HtmlElement.PlaneText.html#C1_Framework_Html_HtmlElement_PlaneText">PlaneText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets plain text from html content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_ShowHotKeys" data-uid="C1.Framework.Html.HtmlElement.ShowHotKeys">
          <a class="xref" href="C1.Framework.Html.HtmlElement.ShowHotKeys.html#C1_Framework_Html_HtmlElement_ShowHotKeys">ShowHotKeys</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value determining whether to show hotkey prefix.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Url" data-uid="C1.Framework.Html.HtmlElement.Url">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Url.html#C1_Framework_Html_HtmlElement_Url">Url</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value determining location of the html content to show.</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_Html_HtmlElement_AnimateImages_System_Int32_" data-uid="C1.Framework.Html.HtmlElement.AnimateImages(System.Int32)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.AnimateImages.html#C1_Framework_Html_HtmlElement_AnimateImages_System_Int32_">AnimateImages(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects the image frame with the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Clear" data-uid="C1.Framework.Html.HtmlElement.Clear">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Clear.html#C1_Framework_Html_HtmlElement_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears all content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Layout_System_Drawing_Graphics_" data-uid="C1.Framework.Html.HtmlElement.Layout(System.Drawing.Graphics)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Layout.html#C1_Framework_Html_HtmlElement_Layout_System_Drawing_Graphics_">Layout(Graphics)</a>
        </td>
        <td class="markdown level1 summary"><p>Layout this element based on its style and contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Parse_C1_Framework_Html_HtmlParser_" data-uid="C1.Framework.Html.HtmlElement.Parse(C1.Framework.Html.HtmlParser)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Parse.html#C1_Framework_Html_HtmlElement_Parse_C1_Framework_Html_HtmlParser_">Parse(HtmlParser)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_ParseOpenTag_C1_Framework_Html_HtmlParser_" data-uid="C1.Framework.Html.HtmlElement.ParseOpenTag(C1.Framework.Html.HtmlParser)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.ParseOpenTag.html#C1_Framework_Html_HtmlElement_ParseOpenTag_C1_Framework_Html_HtmlParser_">ParseOpenTag(HtmlParser)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_Html_HtmlElement_Render_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Framework.Html.HtmlElement.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="C1.Framework.Html.HtmlElement.Render.html#C1_Framework_Html_HtmlElement_Render_System_Drawing_Graphics_System_Drawing_Rectangle_">Render(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the element into a given rectangle.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
