menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExcelStyle - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ExcelStyle

    Defines option for styling excel cell/row.

    Inheritance
    System.Object
    ExcelStyle
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ExcelStyle : Object

    Constructors

    ExcelStyle()

    Declaration
    public ExcelStyle()

    Properties

    BackColor

    Defines the background color for cell style.

    Declaration
    public string BackColor { get; set; }
    Property Value
    Type
    System.String

    Bold

    Defines the bold style for fonts.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type
    System.Boolean

    Borders

    Defines the borders for cell style.

    Declaration
    public Border Borders { get; set; }
    Property Value
    Type
    Border

    FontColor

    Defines the color of font.

    Declaration
    public string FontColor { get; set; }
    Property Value
    Type
    System.String

    FontName

    Defines the name of font.

    Declaration
    public string FontName { get; set; }
    Property Value
    Type
    System.String

    FontSize

    Defines the size of font.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type
    System.Double

    HAlign

    Defines the horizontal alignment for cell style.

    Declaration
    public ExcelHorizontalAlign HAlign { get; set; }
    Property Value
    Type
    ExcelHorizontalAlign

    Indent

    Defines the indent for cell style.

    Declaration
    public int Indent { get; set; }
    Property Value
    Type
    System.Int32

    Italic

    Defines the italic style for fonts.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type
    System.Boolean

    NumberFormat

    Defines the format of the cell.

    Declaration
    public string NumberFormat { get; set; }
    Property Value
    Type
    System.String

    Type

    Defines the type of the cell.

    Declaration
    public string Type { get; set; }
    Property Value
    Type
    System.String

    Underline

    Defines the underline style for fonts.

    Declaration
    public bool Underline { get; set; }
    Property Value
    Type
    System.Boolean

    VAlign

    Defines the vertical alignment for cell style.

    Declaration
    public ExcelVerticalAlign VAlign { get; set; }
    Property Value
    Type
    ExcelVerticalAlign

    WrapText

    Defines the wrapText for cell style.

    Declaration
    public bool WrapText { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved