ASP.NET Core

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

    Show / Hide Table of Contents

    Class SpreadsheetCellTypeSettingBuilder<T>

    Represents a class for celltype settings which includes type, background color, color, text, dataSourceRange, isChecked and value properties.

    Inheritance
    System.Object
    SpreadsheetCellTypeSettingBuilder<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 SpreadsheetCellTypeSettingBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    SpreadsheetCellTypeSettingBuilder(CellType)

    Initializes a new instance of the SpreadsheetCellTypeSettingBuilder<T> with the specified cellOption.

    Declaration
    public SpreadsheetCellTypeSettingBuilder(CellType cellOption)
    Parameters
    Type Name Description
    CellType cellOption

    The cell option in celltype object.

    Methods

    BackgroundColor(String)

    Specifies the background color for cell type.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> BackgroundColor(string color)
    Parameters
    Type Name Description
    System.String color

    The Celltype Background color as string.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    Color(String)

    Specifies the color for cell type.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> Color(string color)
    Parameters
    Type Name Description
    System.String color

    The Celltype color as string.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    DataSourceRange(String)

    Specifies the datasource range for dropdown celltype.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> DataSourceRange(string dataSourceRange)
    Parameters
    Type Name Description
    System.String dataSourceRange

    The range for dropdown datasource as string.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    IsChecked(Boolean)

    Specifies the IsChecked property for checkbox celltype.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> IsChecked(bool isChecked)
    Parameters
    Type Name Description
    System.Boolean isChecked

    true if the checkbox status is checked; otherwise, false.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    Text(String)

    Specifies the text for cell type.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> Text(string text)
    Parameters
    Type Name Description
    System.String text

    The text contains string values.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    Type(CustomCellTypes)

    Specifies the cell type (i.e) button, dropdown, checkbox.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> Type(CustomCellTypes type)
    Parameters
    Type Name Description
    CustomCellTypes type

    The type of the custom cell type.

    Returns
    Type Description
    SpreadsheetCellTypeSettingBuilder<T>

    Value(String)

    Specifies the value for cell type.

    Declaration
    public SpreadsheetCellTypeSettingBuilder<T> Value(string value)
    Parameters
    Type Name Description
    System.String value

    The value that contains string value of the celltype.

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