'Declaration Public Shadows Property Text As System.String
public new System.string Text {get; set;}
'Declaration Public Shadows Property Text As System.String
public new System.string Text {get; set;}
C1SuperLabel can display HTML text, including cascading style sheets, lists, tables, and images. To include images in your tooltips, use an <img> tag as usual, for example:
<img src='[resourcename]'/>
where [resourcename]
is the name of an embedded resource that contains the image. The example below illustrates this.
The code below uses a C1SuperLabel to display a table with some images in it. The images are retrieved from the current application's resources.
_c1SuperLabel.Text = "<table>" + "<tr>" + "<td><img src='newToolStripButton.Image'>" + "<td>This is the second cell in the top row" + "<tr>" + "<td><img src='openToolStripButton.Image'>" + "<td>This is the second cell in the bottom row." + "</table>";