Property StackAlignment
StackAlignment
Gets or sets the strategy for how multi-row (stacked) text should be aligned.
Declaration
public LabelStackAlignment StackAlignment { get; set; }
Property Value
Type | Description |
---|---|
Label |
The strategy for how multi-row (stacked) text should be aligned. |
Remarks
Multi-row text labels can be horizontally aligned on the left, on the right, or at its center.
This preference can be specified by the Text
This property has no effect if Stack
The default value is Automatic
(which has the same effect on labels as Text
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.11 - 200.6 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 200.6 |