Class TextAlign
Defines alignments of text.
- LeftDefault. Text is left aligned.
- RightText is right aligned.
- CenterText is centered.
- JustifyText is justified.
Inheritance
System.Object
TextAlign
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class TextAlign : Enum
Fields
Center
Text is centered.
Declaration
public const TextAlign Center
Field Value
Type |
---|
TextAlign |
Justify
Text is justified.
Declaration
public const TextAlign Justify
Field Value
Type |
---|
TextAlign |
Left
Default. Text is left aligned.
Declaration
public const TextAlign Left
Field Value
Type |
---|
TextAlign |
None
Specifies that no specific text alignment is applied.
Declaration
public const TextAlign None
Field Value
Type |
---|
TextAlign |
Remarks
If no specific alignment is provided or if the value is set to None
, the text will align to the Left by default.
If a different TextAlign
value is given, it will override this default alignment.
Right
Text is right aligned.
Declaration
public const TextAlign Right
Field Value
Type |
---|
TextAlign |