Skip to main content

Trimming Property

Defines how omission of text is indicated. CharacterEllipsis trimming allows partial words to be displayed, while WordEllipsis removes whole words to fit. Both guarantee to include an ellipsis ('...') at the end of the lines where text has been trimmed as a result of line and column limits.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public TextTrimming Trimming { get; set; }

Property Value

TextTrimming

See Also

Reference

FormattedText Class
Avalonia.Media Namespace