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。