FormattedText Class |
Namespace: CMS.Helpers.Markup
public class FormattedText
The FormattedText type exposes the following members.
Name | Description | |
---|---|---|
FormattedText |
Constructor.
|
Name | Description | |
---|---|---|
AddTag |
Adds tag enclosing the text.
| |
AddTooltip |
Adds span tag with set title attribute.
| |
ColorGreen |
Adds span HTML tag and uses alert-status-success CSS class.
| |
ColorOrange |
Adds span HTML tag and uses alert-status-warning CSS class.
| |
ColorRed |
Adds span HTML tag and uses alert-status-error CSS class.
| |
OnClientClick |
Adds JavaScript that gets called when text is clicked.
| |
SetText |
Sets the inner text, doesn't change already added tags.
| |
ToString |
Returns formatted string.
(Overrides ObjectToString.) |