Search Results for

    Show / Hide Table of Contents
    View Source

    Class RichTextTextElement

    Represents a text node within rich text content in the Delivery API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class RichTextTextElement : IRichTextElement

    Constructors

    View Source

    RichTextTextElement(string)

    Initializes a new instance of the RichTextTextElement class.

    Declaration
    public RichTextTextElement(string text)
    Parameters
    Type Name Description
    string text

    The text content of the element.

    Properties

    View Source

    Tag

    Gets the tag name of the element (e.g., "p", "h1", "#text", "#root").

    Declaration
    public string Tag { get; }
    Property Value
    Type Description
    string
    View Source

    Text

    Gets the text content of the element.

    Declaration
    public string Text { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX