FormattedText.MaxLineCount Property

 

Gets or sets the maximum number of lines to display. Text exceeding the MaxLineCount will not be displayed.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Property MaxLineCount As Integer

Property Value

Type: System.Int32

The maximum number of lines to display.

Use the Trimming property to control how omitted text is represented when the text exceeds the MaxLineCount.

.NET Framework
Available since 3.0
Return to top
Show: