Editar

Partilhar via


FormattedText.MaxLineCount Property

Definition

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

public:
 property int MaxLineCount { int get(); void set(int value); };
public int MaxLineCount { get; set; }
member this.MaxLineCount : int with get, set
Public Property MaxLineCount As Integer

Property Value

The maximum number of lines to display.

Remarks

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

Applies to