# C1.Win.C1Input.TooltipShowingEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_TooltipShowingEventArgs__ctor_" data-uid="C1.Win.C1Input.TooltipShowingEventArgs.#ctor*">TooltipShowingEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_TooltipShowingEventArgs__ctor_" data-uid="C1.Win.C1Input.TooltipShowingEventArgs.#ctor*"></a>
<h4 id="C1_Win_C1Input_TooltipShowingEventArgs__ctor" data-uid="C1.Win.C1Input.TooltipShowingEventArgs.#ctor">TooltipShowingEventArgs()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Input.TooltipShowingEventArgs.html">TooltipShowingEventArgs</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 TooltipShowingEventArgs()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_C1Input_TooltipShowingEventArgs__ctor_" data-uid="C1.Win.C1Input.TooltipShowingEventArgs.#ctor*"></a>
<h4 id="C1_Win_C1Input_TooltipShowingEventArgs__ctor_System_Int32_System_String_System_Drawing_Rectangle_System_Int32_System_Int32_System_Int32_C1_Win_SuperTooltip_C1SuperTooltipBase_" data-uid="C1.Win.C1Input.TooltipShowingEventArgs.#ctor(System.Int32,System.String,System.Drawing.Rectangle,System.Int32,System.Int32,System.Int32,C1.Win.SuperTooltip.C1SuperTooltipBase)">TooltipShowingEventArgs(int, string, Rectangle, int, int, int, C1SuperTooltipBase)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Input.TooltipShowingEventArgs.html">TooltipShowingEventArgs</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 TooltipShowingEventArgs(int index, string text, Rectangle bounds, int x, int y, int duration, C1SuperTooltipBase tooltip)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(index As Integer, text As String, bounds As Rectangle, x As Integer, y As Integer, duration As Integer, tooltip As C1SuperTooltipBase)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>Index of the highlighted drop-down list item.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td><p>HTML content to be displayed in the tooltip.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">bounds</span></td>
      <td><p>Highlighted drop-down list item bounds (size and location of element) within its parent element, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The X coordinate of the client where the tooltip should be displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The Y coordinate of the client where the tooltip should be displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">duration</span></td>
      <td><p>Duration of the tooltip, in milliseconds. The default value is 0 (the tooltip is always visible after display).</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">C1SuperTooltipBase</span></td>
      <td><span class="parametername">tooltip</span></td>
      <td><p><span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase</span> object for setting tooltip options.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
