menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetCellStyleBuilder - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpreadsheetCellStyleBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    SpreadsheetCellStyleBuilder
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SpreadsheetCellStyleBuilder : ControlBuilder

    Constructors

    SpreadsheetCellStyleBuilder()

    Declaration
    public SpreadsheetCellStyleBuilder()

    SpreadsheetCellStyleBuilder(SpreadsheetCellStyle)

    Declaration
    public SpreadsheetCellStyleBuilder(SpreadsheetCellStyle model)
    Parameters
    Type Name Description
    SpreadsheetCellStyle model

    Methods

    BackgroundColor(String)

    Specifies background color to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder BackgroundColor(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    Border(String)

    Specifies border of the cell.

    Declaration
    public SpreadsheetCellStyleBuilder Border(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    BorderBottom(String)

    Specifies bottom border of the cell.

    Declaration
    public SpreadsheetCellStyleBuilder BorderBottom(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    BorderLeft(String)

    Specifies left border of the cell.

    Declaration
    public SpreadsheetCellStyleBuilder BorderLeft(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    BorderRight(String)

    Specifies right border of the cell.

    Declaration
    public SpreadsheetCellStyleBuilder BorderRight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    BorderTop(String)

    Specifies top border of the cell.

    Declaration
    public SpreadsheetCellStyleBuilder BorderTop(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    Color(String)

    Specifies font color to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder Color(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    FontSize(String)

    Specifies font size to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder FontSize(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    FontStyle(FontStyle)

    Specifies font style to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder FontStyle(FontStyle value)
    Parameters
    Type Name Description
    FontStyle value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    FontWeight(FontWeight)

    Specifies font weight to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder FontWeight(FontWeight value)
    Parameters
    Type Name Description
    FontWeight value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    TextAlign(TextAlign)

    Specifies text align style to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder TextAlign(TextAlign value)
    Parameters
    Type Name Description
    TextAlign value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    TextIndent(String)

    Specifies text indent style to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder TextIndent(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetCellStyleBuilder

    VerticalAlign(VerticalAlign)

    Specifies vertical align to the cell.

    Declaration
    public SpreadsheetCellStyleBuilder VerticalAlign(VerticalAlign value)
    Parameters
    Type Name Description
    VerticalAlign value
    Returns
    Type
    SpreadsheetCellStyleBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved