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.
Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBlock.TextLineBounds.
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.