Dela via


ContentPresenter.TextLineBounds Property

Definition

Gets or sets a value that indicates how the line box height is determined for each line of text displayed in the 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"/>

Property Value

A value that indicates how the line box height is determined for each line of text. The default is Full.

Applies to