alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum TextAlign

    Specifies the horizontal text alignment to apply within spreadsheet cells.

    Namespace: Syncfusion.Blazor.Spreadsheet
    Assembly: Syncfusion.Blazor.Spreadsheet.dll
    Syntax
    public enum TextAlign
    Remarks

    This enumeration is used with TextAlign to determine how text is positioned horizontally within cells. Text alignment provides visual organization and improves readability of cell content.

    • Left - Aligns text to the left edge of the cell. This is the default alignment for text values.
    • Center - Aligns text to the horizontal center of the cell.
    • Right - Aligns text to the right edge of the cell. Commonly used for numeric data.

    Horizontal alignment works independently of vertical alignment, which can be controlled through VerticalAlign.

    Fields

    Name Description
    Center

    Aligns text to the horizontal center of the cell.

    Left

    Aligns text to the left edge of the cell.

    Right

    Aligns text to the right edge of the cell.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved