alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class CodeBlockNode

    A code block. Wire type is "codeBlock" — the C# name keeps the application's Code terminology while the discriminator matches the runtime contract (master prompt section 2). Typically contains a single TextNode whose Text is the code; the text MUST be preserved verbatim (whitespace, newlines, indentation).

    Inheritance
    object
    EditorNode
    BlockNode
    CodeBlockNode
    Inherited Members
    EditorNode.Marks
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.RichTextEditor
    Assembly: Syncfusion.Maui.RichTextEditor.dll
    Syntax
    public sealed class CodeBlockNode : BlockNode

    Constructors

    CodeBlockNode()

    Declaration
    public CodeBlockNode()

    Properties

    Attrs

    Code-block attributes (language only).

    Declaration
    [JsonPropertyName("attrs")]
    public CodeBlockAttrs Attrs { get; set; }
    Property Value
    Type
    CodeBlockAttrs

    Children

    Inline children — typically a single TextNode.

    Declaration
    [JsonPropertyName("children")]
    public List<InlineNode> Children { get; set; }
    Property Value
    Type
    List<InlineNode>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved