Markup
ClassFor examples and usage details, see the component documentation.
View Markup ComponentNamespace:
RazorConsole.ComponentsAssembly:
RazorConsole.CoreDefinition
public class Markup : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderConstructors
1| Name | Type | Description |
|---|---|---|
Markup() | Constructor | — |
Properties
5| Name | Type | Description |
|---|---|---|
Appearance | ||
Background | Color | Background color. Default is Plain background. |
Foreground | Color | Foreground (text) color. Default is Plain foreground. |
Common | ||
Content | String | Text content to render. Content is automatically escaped to prevent markup interpretation. |
Other | ||
Decoration | Decoration | Text decoration (bold, italic, underline, etc.). Default is None. Combine decorations with bitwise OR. |
link | String | Optional hyperlink URL. When specified, text renders as a clickable link in supported terminals. |
Methods
1| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | — |