menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetCellStyles

    Show / Hide Table of Contents

    Class SpreadsheetCellStyles

    Represents class for Spreadsheet CellStyles which includes color, background color, font family, font size and text decorations properties.

    Inheritance
    System.Object
    EJTagHelper
    SpreadsheetCellStyles
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    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.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SpreadsheetCellStyles : EJTagHelper

    Constructors

    SpreadsheetCellStyles()

    Declaration
    public SpreadsheetCellStyles()

    Properties

    BackgroundColor

    Gets or sets the background color.

    Declaration
    [JsonProperty("background-color")]
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    System.String

    The background color value.

    Border

    Gets or sets the border.

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

    The border object.

    Color

    Gets or sets the color.

    Declaration
    [JsonProperty("color")]
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    The color value.

    FontFamily

    Gets or sets the font family.

    Declaration
    [JsonProperty("font-family")]
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    The font family value.

    FontSize

    Gets or sets the font size.

    Declaration
    [JsonProperty("font-size")]
    public string FontSize { get; set; }
    Property Value
    Type Description
    System.String

    The font size value.

    FontStyle

    Gets or sets the font style.

    Declaration
    [JsonProperty("font-style")]
    public string FontStyle { get; set; }
    Property Value
    Type Description
    System.String

    The font style value.

    FontWeight

    Gets or sets the font weight.

    Declaration
    [JsonProperty("font-weight")]
    public string FontWeight { get; set; }
    Property Value
    Type Description
    System.String

    The font weight value.

    Item[String]

    Declaration
    public object this[string propertyName] { get; set; }
    Parameters
    Type Name Description
    System.String propertyName
    Property Value
    Type Description
    System.Object

    TextAlign

    Gets or sets the text align.

    Declaration
    [JsonProperty("text-align")]
    public string TextAlign { get; set; }
    Property Value
    Type Description
    System.String

    The text align value.

    TextDecoration

    Gets or sets the text decoration.

    Declaration
    [JsonProperty("text-decoration")]
    public string TextDecoration { get; set; }
    Property Value
    Type Description
    System.String

    The text decoration value.

    TextIndent

    Declaration
    [JsonProperty("text-indent")]
    public string TextIndent { get; set; }
    Property Value
    Type Description
    System.String

    VerticalAlign

    Gets or sets the vertical align.

    Declaration
    [JsonProperty("vertical-align")]
    public string VerticalAlign { get; set; }
    Property Value
    Type Description
    System.String

    The vertical align value.

    Methods

    Contains(String)

    Declaration
    public bool Contains(string prop)
    Parameters
    Type Name Description
    System.String prop
    Returns
    Type Description
    System.Boolean

    IsEmpty()

    Declaration
    public bool IsEmpty()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved