FormattedTextMaxLineCount 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
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public int MaxLineCount { get; set; }
Public Property MaxLineCount As Integer
Get
Set
member MaxLineCount : int with get, set
Property Value
Int32