TextBlock.LineStackingStrategy TextBlock.LineStackingStrategy TextBlock.LineStackingStrategy TextBlock.LineStackingStrategy Property

Definition

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

public : LineStackingStrategy LineStackingStrategy { get; set; }
LineStackingStrategy LineStackingStrategy();

void LineStackingStrategy(LineStackingStrategy linestackingstrategy);
public LineStackingStrategy LineStackingStrategy { get; set; }
Public ReadWrite Property LineStackingStrategy As LineStackingStrategy
<TextBlock LineStackingStrategy="BlockLineHeight"/>
-or-
<TextBlock LineStackingStrategy="MaxHeight"/>

Property Value

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