NamespaceSystemLibrary.Common.Episerver.Extensions
Common xhtmlstring extensions
XhtmlStringExtensions
public static class XhtmlStringExtensions
Inheritance
System.Object
XhtmlStringExtensions
Methods
}
Common xhtmlstring extensions
Returns true if the XhtmlString contains some value, else false
Does not throw exception on null
Type | Name | Description |
---|---|---|
EPiServer.Core.XhtmlString | xhtmlString |
Type | Description |
---|---|
System.Boolean |
Returns true if the XhtmlString is null or blank or 0 length, else false
Does not throw on null
Type | Name | Description |
---|---|---|
EPiServer.Core.XhtmlString | xhtmlString |
Type | Description |
---|---|
System.Boolean |
Render all data, media, blocks, components, inside the XhtmlString
Type | Name | Description |
---|---|---|
EPiServer.Core.XhtmlString | xhtmlString | |
System.Boolean | skipWrapperTag |
Type | Description |
---|---|
System.String | Returns the rendered version of the xhtmlString. Anything from TinyMce HTML text added, to Button Blocks and Accordion Blocks editors have dragged into this field, will be rendered and added to one huge HTML string |
Render all data, media, blocks, components, inside the XhtmlString
Use this if you want to add additional data to the string
Type | Name | Description |
---|---|---|
EPiServer.Core.XhtmlString | xhtmlString | |
System.Boolean | skipWrapperTag |
Type | Description |
---|---|
System.Text.StringBuilder | Returns the rendered version of the xhtmlString. Anything from TinyMce HTML text added, to Button Blocks and Accordion Blocks editors have dragged into this field, will be rendered and added to one huge HTML StringBuilder, ready to be adjusted after |
}