TextBlock.TextLineBounds Property

Definition

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

Property Value

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

Remarks

For illustrations of how the different values for TextLineBounds affect adjacent lines of text, see TextLineBounds.

Applies to