# C1.Win.SuperTooltip.C1SuperLabel.Text

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_SuperTooltip_C1SuperLabel_Text_" data-uid="C1.Win.SuperTooltip.C1SuperLabel.Text*">Text Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_SuperTooltip_C1SuperLabel_Text_" data-uid="C1.Win.SuperTooltip.C1SuperLabel.Text*"></a>
<h4 id="C1_Win_SuperTooltip_C1SuperLabel_Text" data-uid="C1.Win.SuperTooltip.C1SuperLabel.Text">Text</h4>
<div class="markdown level1 summary"><p>Gets or sets the HTML text that is displayed in the 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 Text { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Text As String</code></pre>
</div>
<h5 id="C1_Win_SuperTooltip_C1SuperLabel_Text_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p><a class="xref" href="C1.Win.SuperTooltip.C1SuperLabel.html">C1SuperLabel</a> can display HTML text, including cascading style sheets,
lists, tables, and images. To include images in your tooltips, use an &lt;img&gt; tag as
usual, for example:</p>
<pre><code class="lang-csharp">&lt;img src='[resourcename]'/&gt;</code></pre>
<p>where <pre><code class="lang-csharp">[resourcename]</code></pre> is the name of an embedded resource that
contains the image. The example below illustrates this.
</div>
<h5 id="C1_Win_SuperTooltip_C1SuperLabel_Text_examples">Examples</h5>
<p>The code below uses a <a class="xref" href="C1.Win.SuperTooltip.C1SuperLabel.html">C1SuperLabel</a> to display a table with some images
in it. The images are retrieved from the current application's resources.</p>
<pre><code class="lang-csharp">_c1SuperLabel.Text =
  "&lt;table&gt;" +
  "&lt;tr&gt;" +
  "&lt;td&gt;&lt;img src='newToolStripButton.Image'&gt;" +
  "&lt;td&gt;This  is the second cell in the top row" +
  "&lt;tr&gt;" +
  "&lt;td&gt;&lt;img src='openToolStripButton.Image'&gt;" +
  "&lt;td&gt;This  is the second cell in the bottom row." +
  "&lt;/table&gt;";</code></pre>

</div>
