Skip to content

TextExtensions class

Fluent API extension methods for styled text runs.

Guide: C# Markup guide

public static class TextExtensions
name description
static Bold(…) Renders the run bold.
static Inlines<T>(…) Replaces the block’s inline runs.
static Strikethrough(…) Adds a strikethrough, keeping any other decoration.
static Underline(…) Adds an underline, keeping any other decoration.