ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetFormatOptionsBuilder<T> - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpreadsheetFormatOptionsBuilder<T>

    Represents a class for format options which includes allow cell border, decimal places and font family properties.

    Inheritance
    System.Object
    SpreadsheetFormatOptionsBuilder<T>
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SpreadsheetFormatOptionsBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    SpreadsheetFormatOptionsBuilder(SpreadsheetFormatSettings)

    Initializes a new instance of the SpreadsheetFormatOptionsBuilder<T> with the specified format settings.

    Declaration
    public SpreadsheetFormatOptionsBuilder(SpreadsheetFormatSettings format)
    Parameters
    Type Name Description
    SpreadsheetFormatSettings format

    The format settings.

    Methods

    AllowCellBorder()

    Specifies to enable cell border.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowCellBorder()
    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>

    AllowCellBorder(Boolean)

    Specifies to indicate whether the cell border is enable or not.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowCellBorder(bool allowCellBorder)
    Parameters
    Type Name Description
    System.Boolean allowCellBorder

    true if the cell border is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>

    AllowDecimalPlaces()

    Specifies to enable decimal places.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowDecimalPlaces()
    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>

    AllowDecimalPlaces(Boolean)

    Specifies to indicate whether the decimal places is enable or not.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowDecimalPlaces(bool allowDecimalPlaces)
    Parameters
    Type Name Description
    System.Boolean allowDecimalPlaces

    true if the decimal places is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>

    AllowFontFamily()

    Specifies to enable font family.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowFontFamily()
    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>

    AllowFontFamily(Boolean)

    Specifies to indicate whether font family is enable or not.

    Declaration
    public SpreadsheetFormatOptionsBuilder<T> AllowFontFamily(bool allowFontFamily)
    Parameters
    Type Name Description
    System.Boolean allowFontFamily

    true if the font family is enabled; otherwise, false.

    Returns
    Type Description
    SpreadsheetFormatOptionsBuilder<T>
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved