# C1.Win.Ribbon.ToolTipPositionEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Ribbon_ToolTipPositionEventArgs__ctor_" data-uid="C1.Win.Ribbon.ToolTipPositionEventArgs.#ctor*">ToolTipPositionEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Ribbon_ToolTipPositionEventArgs__ctor_" data-uid="C1.Win.Ribbon.ToolTipPositionEventArgs.#ctor*"></a>
<h4 id="C1_Win_Ribbon_ToolTipPositionEventArgs__ctor_System_Drawing_Rectangle_System_Drawing_Point_System_String_System_ComponentModel_Component_" data-uid="C1.Win.Ribbon.ToolTipPositionEventArgs.#ctor(System.Drawing.Rectangle,System.Drawing.Point,System.String,System.ComponentModel.Component)">ToolTipPositionEventArgs(Rectangle, Point, string, Component)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.Ribbon.ToolTipPositionEventArgs.html">ToolTipPositionEventArgs</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ToolTipPositionEventArgs(Rectangle componentBounds, Point location, string text, Component component)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(componentBounds As Rectangle, location As Point, text As String, component As Component)</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.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">componentBounds</span></td>
      <td><p>Bounds of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> that provides the tooltip text and location.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">location</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> that specifies the top left corner of the tooltip.</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>String that will be displayed in the tooltip.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></td>
      <td><span class="parametername">component</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a> that provides the tooltip text and location.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
