Try our conversational search powered by Generative AI!

Class PropertyXhtmlStringExtensions

A property representing a static or dynamic xhtml string value. This property has support to handle dynamic fragments like dynamic content, personalized content and permanent links.

Inheritance
System.Object
PropertyXhtmlStringExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class PropertyXhtmlStringExtensions

Methods

ParseToXhtmlString(PropertyXhtmlString, String)

Parse a string to Xhtml. This function is used internally by the class to convert values to Xhtml. If you write your own class and inherit this class, you can modify the parser logic by overriding this function.

Declaration
[Obsolete("Use other parse method")]
public static string ParseToXhtmlString(this PropertyXhtmlString prop, string unparsedString)
Parameters
Type Name Description
PropertyXhtmlString prop
System.String unparsedString
Returns
Type Description
System.String

A string with the value converted to Xhtml.