共用方式為


RichTextBlock.LineStackingStrategy 屬性

定義

取得或設定值,這個值表示 RichTextBlock 中每一行文字如何決定行框。

public:
 property LineStackingStrategy LineStackingStrategy { LineStackingStrategy get(); void set(LineStackingStrategy value); };
LineStackingStrategy LineStackingStrategy();

void LineStackingStrategy(LineStackingStrategy value);
public LineStackingStrategy LineStackingStrategy { get; set; }
var lineStackingStrategy = richTextBlock.lineStackingStrategy;
richTextBlock.lineStackingStrategy = lineStackingStrategy;
Public Property LineStackingStrategy As LineStackingStrategy
<RichTextBlock LineStackingStrategy="BlockLineHeight"/>
-or-
<RichTextBlock LineStackingStrategy="MaxHeight"/>

屬性值

值,指出 RichTextBlock 中每一行文字的行框如何決定。 預設值為 MaxHeight

適用於