Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LineStackingStrategy
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Collapse the table of content
Expand the table of content

LineStackingStrategy

Silverlight

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

Type: Enumeration

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.

Silverlight 2

Community Additions

ADD
Show:
© 2015 Microsoft