Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetVerticalAlignment Enum

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

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum SpreadsheetVerticalAlignment

#Members

Name Description
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.

#Related API Members

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