BaselineAlignment Enumeration
Enum specifying where a box should be positioned Vertically
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum BaselineAlignment
Public Enumeration BaselineAlignment
type BaselineAlignment
Members
| Top | 0 | Align top toward top of container |
| Center | 1 | Center vertically |
| Bottom | 2 | Align bottom toward bottom of container |
| Baseline | 3 | Align at baseline |
| TextTop | 4 | Align toward text's top of container |
| TextBottom | 5 | Align toward text's bottom of container |
| Subscript | 6 | Align baseline to subscript position of container |
| Superscript | 7 | Align baseline to superscript position of container |