TextBlock.TextLineBounds 属性

定义

获取或设置一个值,该值指示如何确定 TextBlock 中每行文本的行框高度。

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

void TextLineBounds(TextLineBounds value);
public TextLineBounds TextLineBounds { get; set; }
var textLineBounds = textBlock.textLineBounds;
textBlock.textLineBounds = textLineBounds;
Public Property TextLineBounds As TextLineBounds
<TextBlock TextLineBounds="textLineBoundsValue"/>

属性值

一个 值,该值指示如何确定 TextBlock 中每行文本的行框高度。 默认值为“完整”。

注解

有关 TextLineBounds 的不同值如何影响相邻文本行的插图,请参阅 TextLineBounds

适用于