Skip to main content

MaxTextHeight Property

Sets the maximum length of a column of text. The last line of text displayed is the last whole line that will fit within this limit, or the nth line as specified by MaxLineCount, whichever occurs first. Use the Trimming property to control how the omission of text is indicated.

Definition​

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

public double MaxTextHeight { get; set; }

Property Value​

Double

See Also​

Reference​

FormattedText Class
Avalonia.Media Namespace