Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

BBCode tag reference

Ger Hobbelt edited this page Oct 25, 2019 · 3 revisions

The following basic set of BBCode tags are supported by the BBCodeBlock control. If you require more advanced text formatting features, you need to fallback to using XAML.

[b]

Bold

[i]

Italic

[u]

Underline

[color={value}]

Set foreground color where {value} is a valid XAML color string

[size={value}]

Sets the font size measured in pixels

[url={link}]

Renders a navigable hyperlink for the enclosed text. See also BBCodeBlock navigation features

Notes

  • Every opening tag must be followed by a closing tag.
  • BBCode tags can be nested. This snippet renders the text bold and italic: [b][i]some text[/i][/b]
  • Whenever a BBCode parse error occurs, the BBCodeBlock renders the actual BBCode.