FormattedText.MaxLineCount 屬性

定義

取得或設定可以顯示的最大行數。 超過 MaxLineCount 的文字不會顯示。

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

屬性值

Int32

可以顯示的最大行數。

備註

Trimming使用 屬性來控制當文字超過 MaxLineCount 時,省略文字的表示方式。

適用於