New to Telerik UI for WinFormsStart a free 30-day trial

Horizontal text alignment options controlling how content is positioned across the cell width.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

C#
public enum SpreadHorizontalAlignment

Fields

Centers content within the cell.

C#
Center = 2

Centers content across adjacent cells (center continuous effect).

C#
CenterContinuous = 6

Evenly distributes characters across the cell width, inserting spacing as needed.

C#
Distributed = 7

Repeats cell content to fill the entire width.

C#
Fill = 5

Default alignment: text left, numbers/dates right, booleans centered (data type inferred automatically).

C#
General = 0

Justifies wrapped lines except the last across left and right edges.

C#
Justify = 4

Aligns content with the left edge of the cell.

C#
Left = 1

Aligns content with the right edge of the cell.

C#
Right = 3