Share via


ContentPresenter.TextLineBounds 属性

定义

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

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

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

属性值

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

适用于