Property StackBreakPosition
StackBreakPosition
Gets or sets the strategy for whether a row of text should be broken before or after it exceeds the ideal length.
Declaration
[Obsolete("Instead use LabelStackSeparator.BreakPosition for each LabelStackSeparator")]
public LabelStackBreakPosition StackBreakPosition { get; set; }
Property Value
Type | Description |
---|---|
LabelStackBreakPosition | The strategy for whether a row of text should be broken before or after it exceeds the ideal length. |
Remarks
If stacking is turned on, label placement can insert a line break before or after the word that overruns the maximum number of characters per row. Using the Before option means rows will generally be shorter than the StackRowLength (although will overrun for individual words larger than this count).
This property has no effect if StackStrategy is None.
The default is Automatic (which has the same effect on labels as After).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.11 - 100.15 |
.NET 5 | 100.11 - 100.12 |
.NET Core 3.1 | 100.11 - 100.12 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 100.15 |