Table of Contents

Property Text

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Text

Gets or sets the code block content. The setter accepts fenced code block format (lang\ncode\n) and extracts the language automatically. Plain text (without fences) is also accepted and treated as language-less code.

public override string Text { get; set; }

Property Value

string