Share via


RichTextBlock.TextLineBounds Property

Definition

Gets or sets a value that indicates how the line box height is determined for each line of text in the RichTextBlock.

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

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

Property Value

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

Remarks

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

Applies to