# C1.Win.SuperTooltip.C1SuperTooltip

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_SuperTooltip_C1SuperTooltip" data-uid="C1.Win.SuperTooltip.C1SuperTooltip" class="text-break">C1SuperTooltip Class
</h1>
  <div class="markdown level0 summary"><p>C1SuperTooltip control allows to show tooltips with different visual options and rich html content.</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"><span class="xref">C1SuperTooltip</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.iextenderprovider">IExtenderProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.SuperTooltip.html">C1.Win.SuperTooltip</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.SuperTooltip.4.8.dll</h6>
  <h5 id="C1_Win_SuperTooltip_C1SuperTooltip_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1SuperTooltip), &quot;C1SuperTooltip.png&quot;)]
public class C1SuperTooltip : C1SuperTooltipBase, IExtenderProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1SuperTooltip), &quot;C1SuperTooltip.png&quot;)&gt;
Public Class C1SuperTooltip
    Inherits C1SuperTooltipBase
    Implements IExtenderProvider</code></pre>
  </div>
  <h5 id="C1_Win_SuperTooltip_C1SuperTooltip_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <b>C1SuperTooltip</b> component is virtually identical to the 
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.tooltip">ToolTip</a> component, with one significant difference: 
<b>C1SuperTooltip</b> displays HTML text instead of plain text. This way, your tooltips can 
have multiple fonts, colors, tables, lists, and images. See 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 for details and examples.</p>
<p>You can associate HTML tooltips with any <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a> or
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a> on the form.</p>
<p><b>C1SuperTooltip</b> does not use IE to render the HTML content. Instead, it has its own 
light-weight HTML parser and renderer. This means the output you get will not be always 
be 100% compatible with IE (or FireFox), but in most cases it should be close.
<b>C1SuperTooltip</b> supports cascading style sheets, tables, and most other HTML features.
For more details, see 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>
<p>The <b>C1SuperTooltip</b> component allows you to provide help to users when they place 
the mouse cursor over a control. The <b>C1SuperTooltip</b> component is typically used to 
alert users to the intended use of a control. For example, you could specify tooltip 
text for a <b>TextBox</b> control that accepts a name, specifying the format of the 
name to typed into the control. In addition to providing help, you can also use the 
<b>C1SuperTooltip</b> component to provide run time status information. For example, you 
could use the <b>C1SuperTooltip</b> component to display connection speed and line quality 
data when the user moves the mouse cursor over a <b>PictureBox</b> control that displays 
Internet connection status.</p>
<p>The <b>C1SuperTooltip</b> component provides properties that enable you to modify how 
long and how quickly a tooltip window is displayed. The <span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.AutoPopDelay</span> 
property determines how long a tooltip window is displayed; the <span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.InitialDelay</span> and 
<span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.ReshowDelay</span> properties determine the delay before a tooltip window is displayed. 
To set all of these properties to a consistent pattern, you can use the <span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.AutomaticDelay</span>
property. This value is then used to calculate and set the values of the other delay properties.
To enable a control's tooltip text to be displayed regardless of whether the <b>Form</b> or 
container the control is contained within is enabled, you can use the <b>ShowAlways</b> property.
If you want to disable all tooltip text from being displayed in your application, you can 
use the <span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.Active</span> property.</p>
<p>The <b>C1SuperTooltip</b> component can be used in any container. To specify a specific 
container to use the <b>C1SuperTooltip</b> component within, use the <b>C1SuperTooltip</b> constructor. 
In order for tooltip text to be displayed when the user moves the mouse cursor over a control,
the tooltip text to be displayed must be associated with the control within an instance of the
<b>C1SuperTooltip</b> component. To associate tooltip text with a control, 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. The <b>SetToolTip</b> method can be called more than once for the same control to change
the text that is associated with the control. If you want to get the text that is associated 
with a control, use the GetToolTip method. To remove all tooltip text 
associations with an instance of the <b>C1SuperTooltip</b> component, use the <span class="xref">C1.Win.SuperTooltip.C1SuperTooltipBase.RemoveAll</span>
method.</p>
</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_Win_SuperTooltip_C1SuperTooltip__ctor" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.#ctor">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.-ctor.html#C1_Win_SuperTooltip_C1SuperTooltip__ctor">C1SuperTooltip()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.html">C1SuperTooltip</a> component.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SuperTooltip_C1SuperTooltip__ctor_System_ComponentModel_IContainer_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.#ctor(System.ComponentModel.IContainer)">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.-ctor.html#C1_Win_SuperTooltip_C1SuperTooltip__ctor_System_ComponentModel_IContainer_">C1SuperTooltip(IContainer)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.html">C1SuperTooltip</a> component.</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_Win_SuperTooltip_C1SuperTooltip_RightToLeft" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.RightToLeft">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.RightToLeft.html#C1_Win_SuperTooltip_C1SuperTooltip_RightToLeft">RightToLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.</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_Win_SuperTooltip_C1SuperTooltip_GetPublicRtl" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetPublicRtl">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.GetPublicRtl.html#C1_Win_SuperTooltip_C1SuperTooltip_GetPublicRtl">GetPublicRtl()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_Control_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip(System.Windows.Forms.Control)">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip.html#C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_Control_">GetToolTip(Control)</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_ToolStripItem_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip(System.Windows.Forms.ToolStripItem)">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.GetToolTip.html#C1_Win_SuperTooltip_C1SuperTooltip_GetToolTip_System_Windows_Forms_ToolStripItem_">GetToolTip(ToolStripItem)</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SuperTooltip_C1SuperTooltip_SetToolTip_System_Windows_Forms_Control_System_String_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.SetToolTip(System.Windows.Forms.Control,System.String)">
          <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>
        </td>
        <td class="markdown level1 summary"><p>Associates tooltip HTML text with the specified control.</p>
<param name="control">The <b>Control</b> to associate the tooltip text with.
<param name="text">The tooltip text to display when the mouse cursor is over the control.
</td>
      </tr>
      <tr>
        <td id="C1_Win_SuperTooltip_C1SuperTooltip_SetToolTip_System_Windows_Forms_ToolStripItem_System_String_" data-uid="C1.Win.SuperTooltip.C1SuperTooltip.SetToolTip(System.Windows.Forms.ToolStripItem,System.String)">
          <a class="xref" href="C1.Win.SuperTooltip.C1SuperTooltip.SetToolTip.html#C1_Win_SuperTooltip_C1SuperTooltip_SetToolTip_System_Windows_Forms_ToolStripItem_System_String_">SetToolTip(ToolStripItem, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Associates tooltip HTML text with the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
