TextBlock.LineStackingStrategy 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
property LineStackingStrategy LineStackingStrategy { LineStackingStrategy get(); void set(LineStackingStrategy value); };
LineStackingStrategy LineStackingStrategy();
void LineStackingStrategy(LineStackingStrategy value);
public LineStackingStrategy LineStackingStrategy { get; set; }
var lineStackingStrategy = textBlock.lineStackingStrategy;
textBlock.lineStackingStrategy = lineStackingStrategy;
Public Property LineStackingStrategy As LineStackingStrategy
<TextBlock LineStackingStrategy="BlockLineHeight"/>
-or-
<TextBlock LineStackingStrategy="MaxHeight"/>
屬性值
值,指出 TextBlock中每一行文字如何決定行框。 預設值為 MaxHeight。