Back to API Reference
Enum

TypingMarkupPolicy

Whether markup the user types by hand is recognized or kept literal. Applies to direct keyboard / IME editing of that text; formatting commands, programmatic styling, inline objects, and paste are unaffected.

public static readonly TypingMarkupPolicy Parse = 0

Typed markup is parsed into styles (default): <b>x</b> renders bold.

public static readonly TypingMarkupPolicy Literal = 1

Typed markup triggers are escaped to literal text: <b>x</b> stays visible characters.