Enum
RadHorizontalAlignment

Horizontal text alignment options for cell content within a worksheet.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public enum RadHorizontalAlignment

Fields

Center

Centers content horizontally within the cell.

Declaration

cs-api-definition
Center = 2

Field Value

RadHorizontalAlignment

CenterContinuous

Centers content across multiple selected cells without merging them.

Declaration

cs-api-definition
CenterContinuous = 6

Field Value

RadHorizontalAlignment

Distributed

Distributes content evenly with equal spacing between characters across the cell width.

Declaration

cs-api-definition
Distributed = 7

Field Value

RadHorizontalAlignment

Fill

Repeats cell content to fill the entire cell width.

Declaration

cs-api-definition
Fill = 5

Field Value

RadHorizontalAlignment

General

Automatic alignment based on cell content type: numbers align right, booleans center, and text aligns left.

Declaration

cs-api-definition
General = 0

Field Value

RadHorizontalAlignment

Justify

Justifies multi-line text by distributing words evenly across the cell width.

Declaration

cs-api-definition
Justify = 4

Field Value

RadHorizontalAlignment

Left

Aligns content to the left edge of the cell.

Declaration

cs-api-definition
Left = 1

Field Value

RadHorizontalAlignment

Right

Aligns content to the right edge of the cell.

Declaration

cs-api-definition
Right = 3

Field Value

RadHorizontalAlignment