Back to Devexpress

SpreadsheetVerticalAlignment Enum

officefileapi-devexpress-dot-spreadsheet-facf38eb.md

latest1.7 KB
Original Source

SpreadsheetVerticalAlignment Enum

Lists the values used to specify vertical alignment of data within a cell.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum SpreadsheetVerticalAlignment
vb
Public Enum SpreadsheetVerticalAlignment

Members

NameDescription
Top

The cell content is vertically aligned at the top.

| | Center |

The cell content is centered vertically.

| | Bottom |

The cell content is vertically aligned at the bottom.

| | Justify |

The cell content is vertically justified.

| | Distributed |

The text is vertically distributed across the cell height.

|

The following properties accept/return SpreadsheetVerticalAlignment values:

Remarks

The SpreadsheetVerticalAlignment enumerator members are used to set the Alignment.Vertical property.

For details on how to align data within cells, see the How to: Align Cell Content topic.

See Also

DevExpress.Spreadsheet Namespace