Click or drag to resize
ScriptHelperFormatTooltipString Method
Formats string to be used for tooltip.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string FormatTooltipString(
	string text,
	bool encode = true,
	bool escape = true
)

Parameters

text
Type: SystemString
Tooltip string
encode (Optional)
Type: SystemBoolean
Indicates whether the tooltip text should be encoded
escape (Optional)
Type: SystemBoolean
Indicates if apostrophes and backslashes should be escaped

Return Value

Type: String
See Also