RichTextKit v0.1

TextBlock.MaxLines Property

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextBlock

The maximum number of lines after which lines will be truncated and the final line will be appended with an ellipsis (...) character.

public Nullable<int> MaxLines { get; set; }

Remarks

This property can be set to null, in which case the vertical height of the text block won't be capped.

Property Type

Nullable<int>