# C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip*">GetToolTip Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip*"></a>
<h4 id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_Control_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip(System.Windows.Forms.Control)">GetToolTip(Control)</h4>
<div class="markdown level1 summary"><p>Retrieves the <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.html">C1SuperTooltip</a> text associated with the specified control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string GetToolTip(Control control)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetToolTip(control As Control) As String</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.windows.forms.control">Control</a></td>
      <td><span class="parametername">control</span></td>
      <td><p>The <b>Control</b> for which to retrieve the tooltip text.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>The tooltip text for the specified control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_Control__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method enables you to retrieve the tooltip text for any control. If the tooltip text
changes dynamically in an application, you can use this method to find out what text is
displayed at any point, depending on the state of the application. To change the text
that a control is displaying, use the <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.SetToolTip.html#C1_Win_SuperTooltip_C1SuperTooltip_SetToolTip_System_Windows_Forms_Control_System_String_">SetToolTip(Control, string)</a> method.</p>
</div>


<a id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip*"></a>
<h4 id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_ToolStripItem_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip(System.Windows.Forms.ToolStripItem)">GetToolTip(ToolStripItem)</h4>
<div class="markdown level1 summary"><p>Retrieves the <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.html">C1SuperTooltip</a> text associated with the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a> component.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string GetToolTip(ToolStripItem item)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetToolTip(item As ToolStripItem) As String</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.windows.forms.toolstripitem">ToolStripItem</a></td>
      <td><span class="parametername">item</span></td>
      <td><p>The <b>ToolStripItem</b> for which to retrieve the tooltip text.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>The tooltip text for the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a> component.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
