TextBlock.LineStackingStrategy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property LineStackingStrategy LineStackingStrategy { LineStackingStrategy get(); void set(LineStackingStrategy value); };
LineStackingStrategy LineStackingStrategy();
void LineStackingStrategy(LineStackingStrategy value);
public LineStackingStrategy LineStackingStrategy { get; set; }
var lineStackingStrategy = textBlock.lineStackingStrategy;
textBlock.lineStackingStrategy = lineStackingStrategy;
Public 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for