SpreadsheetHorizontalAlignment Enum
Specifies horizontal alignment of cell content.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Members
Name | Description |
---|---|
General
|
The cell content is horizontally aligned according to the data type (text is aligned to the left; numbers, date and time values are aligned to the right; boolean and error values are centered). |
Left
|
The cell content is horizontally aligned on the left. |
Center
|
The cell content is centered horizontally. |
Right
|
The cell content is horizontally aligned on the right. |
Fill
|
Repeats the cell content across the whole width of the cell. |
Justify
|
The text is wrapped to fit the cell width and each line of text (except the last line) is horizontally justified to the right and left of the cell. |
CenterContinuous
|
The cell content is centered horizontally across multiple cells. |
Distributed
|
The text is wrapped to fit the cell width and each line of text is horizontally distributed across the entire cell. This alignment type allows you to apply an indent to both the left and right sides of the cell. |
Related API Members
The following properties accept/return SpreadsheetHorizontalAlignment values: