alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    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
    System.Object
    EditorNode
    BlockNode
    CodeBlockNode
    Inherited Members
    EditorNode.Id
    EditorNode.Marks
    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
    public CodeBlockAttrs Attrs { get; set; }
    Property Value
    Type
    CodeBlockAttrs

    Children

    Inline children — typically a single TextNode.

    Declaration
    public List<InlineNode> Children { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<InlineNode>
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved