Click or drag to resize

StackLayoutAlignLabels Property

Gets or sets a value indicating whether the Label's alignment will be changed to match the alignment of the StackLayout.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[DefaultValueAttribute(true)]
public bool AlignLabels { get; set; }

Property Value

Type: Boolean
true if to label alignment; otherwise, false.
Remarks
This is used so labels can be updated automatically to match the content alignment of the stack. For example, when HorizontalContentAlignment is Center, then all Labels will get their TextAlignment set to Center.
See Also