Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Sets or returns the hyperlink's displayed text.

...

Signature
C#C#
{excerpt}
{signature:C#}
 public System.String Text{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Text() As String
Remarks

By default the display text is the same as the hyperlink. Setting this property will not change the location that is linked to, but will change the text that is displayed.

{signature}
{remarks}
By default the display text is the same as the hyperlink. Setting this property will not change the location that is linked to, but will change the text that is displayed.
{remarks}
{example}{code:csharp|title=C#}

          //--- Get Text
          string linkText = link.Text;

          //--- Set Text
          link.Text = "SoftArtisans";
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get Text
          Dim linkText As String = link.Text

          '--- Set Text
          link.Text = "SoftArtisans"
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle