menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class SpreadsheetFormatBuilder

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

    Constructors

    SpreadsheetFormatBuilder()

    Declaration
    public SpreadsheetFormatBuilder()

    SpreadsheetFormatBuilder(SpreadsheetFormat)

    Declaration
    public SpreadsheetFormatBuilder(SpreadsheetFormat model)
    Parameters
    Type Name Description
    SpreadsheetFormat model

    Methods

    Format(String)

    Specifies the number format code to display value in specified number format.

    Declaration
    public SpreadsheetFormatBuilder Format(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    SpreadsheetFormatBuilder

    IsLocked(Boolean)

    Specifies the range is locked or not, for allow edit range in spreadsheet protect option.

    Declaration
    public SpreadsheetFormatBuilder IsLocked(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    SpreadsheetFormatBuilder

    Style(Object)

    Specifies the cell style options.

    Declaration
    public SpreadsheetFormatBuilder Style(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    SpreadsheetFormatBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved