Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets the mechanism by which a line box is determined for each line of text in a TextBlock object.
<TextBlock LineStackingStrategy="MaxHeight"/> - or - <TextBlock LineStackingStrategy="BlockLineHeight"/>
value = object.LineStackingStrategy object.LineStackingStrategy = value
The value is one of the following:
MaxHeight. The stack height is based on calculating the height of the tallest line. This is the default.
BlockLineHeight. The stack height is determined by the block-element line height.
This property is read/write.