# C1.Win.C1Editor.HtmlEventEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Editor_HtmlEventEventArgs__ctor_" data-uid="C1.Win.C1Editor.HtmlEventEventArgs.#ctor*">HtmlEventEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Editor_HtmlEventEventArgs__ctor_" data-uid="C1.Win.C1Editor.HtmlEventEventArgs.#ctor*"></a>
<h4 id="C1_Win_C1Editor_HtmlEventEventArgs__ctor_C1_Win_C1Editor_Internal_HTML_IHTMLEventObj_C1_Win_C1Editor_HtmlEventTypes_" data-uid="C1.Win.C1Editor.HtmlEventEventArgs.#ctor(C1.Win.C1Editor.Internal.HTML.IHTMLEventObj,C1.Win.C1Editor.HtmlEventTypes)">HtmlEventEventArgs(IHTMLEventObj, HtmlEventTypes)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Editor.HtmlEventEventArgs.html">HtmlEventEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public HtmlEventEventArgs(IHTMLEventObj htmlEventObj, HtmlEventTypes type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(htmlEventObj As IHTMLEventObj, type As HtmlEventTypes)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.C1Editor.Internal.HTML.IHTMLEventObj.html">IHTMLEventObj</a></td>
      <td><span class="parametername">htmlEventObj</span></td>
      <td><p>Gets information about an HTML event.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.C1Editor.HtmlEventTypes.html">HtmlEventTypes</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>Gets the type of HTML event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
