Enum HorizontalAlignment
Describes how a child element is vertically positioned or stretched within a parent's layout slot.
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public enum HorizontalAlignment
Fields
Name | Description |
---|---|
Center | The element is aligned to the center of the parent's layout slot. |
Left | The element is aligned to the top of the parent's layout slot. |
Right | The element is aligned to the right of the parent's layout slot. |
Stretch | The element is stretched to fill the entire layout slot of the parent element. |