Click or drag to resize
PageBuilderHtmlHelperExtensionsResolveRichText Method
Resolves the dynamic text in the rich text. Text is also sanitized from potential XSS.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static string ResolveRichText(
	this HtmlHelperExtensionPoint htmlHelper,
	string text
)

Parameters

htmlHelper
Type: Kentico.Web.MvcHtmlHelperExtensionPoint
The object that provides methods to render HTML fragments.
text
Type: SystemString
The text to be resolved.

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelperExtensionPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the htmlHelper is null.
See Also