New to Telerik UI for WinForms? Start a free 30-day trial

Specifies horizontal text alignment for a TextBlock.

Definition

Namespace:Telerik.WinControls.Spreadsheet.UI

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

C#
public enum TextAlignment

Fields

Text is centered.

C#
Center = 2

Requests justified text; the Spreadsheet text block currently renders this value left-aligned.

C#
Justify = 3

Text is aligned to the left. Default value.

C#
Left = 0

Text is aligned to the right.

C#
Right = 1
In this article
DefinitionFieldsCenterJustifyLeftRight
Not finding the help you need?
Contact Support