Enum VerticalAlign
Specifies the vertical alignment to apply within spreadsheet cells.
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.Spreadsheet.dll
Syntax
public enum VerticalAlign
Remarks
This enumeration is used with VerticalAlign to determine how content is positioned vertically within cells. Vertical alignment provides visual organization and improves content presentation, especially in cells with increased row height.
- Top - Aligns content to the top edge of the cell.
- Middle - Aligns content to the vertical center of the cell. This is commonly used for balanced presentation.
- Bottom - Aligns content to the bottom edge of the cell. This is the default alignment.
Vertical alignment works independently of horizontal alignment, which can be controlled through TextAlign.
Fields
| Name | Description |
|---|---|
| Bottom | Aligns content to the bottom edge of the cell. |
| Middle | Aligns content to the vertical center of the cell. |
| Top | Aligns content to the top edge of the cell. |