Skip to main content

MaxLineCount Property

Defines the maximum number of lines to display. The last line of text displayed is the lineCount-1'th line, or the last whole line that will fit within the count set by MaxTextHeight, 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 int MaxLineCount { get; set; }

Property Value

Int32

See Also

Reference

FormattedText Class
Avalonia.Media Namespace