RichTextKit v0.4

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; }


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

Property Type


Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.