Skip to content

RunMarkupExtensions class

Generated fluent setters and event subscriptions for Run.

Guide: C# Markup guide

public static class RunMarkupExtensions
name description
static Background(…) Sets the highlight color painted behind the run; null paints nothing.
static BaselineOffset(…) Sets the baseline shift in DIPs; positive raises the run above the line’s baseline.
static Decoration(…) Sets underline and strikethrough for the run.
static FontFamily(…) Sets the font family; null inherits from the owning text element.
static FontSize(…) Sets the font size in points; null inherits from the owning text element.
static FontWeight(…) Sets the font weight; null inherits from the owning text element.
static Foreground(…) Sets the text color; null inherits from the owning text element.
static Italic(…) Sets whether the run renders italic.
static Text(…) Sets the run text.