menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class CellAttributes

    Class for CellAttributes

    Inheritance
    System.Object
    CellAttributes
    Implements
    IJsonSerializable
    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.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class CellAttributes : IJsonSerializable

    Constructors

    CellAttributes()

    Declaration
    public CellAttributes()

    Properties

    Align

    Gets or sets the Alignments.

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

    AltTxt

    Gets or sets the alt text.

    Declaration
    [JsonProperty("altTxt")]
    public bool AltTxt { get; set; }
    Property Value
    Type Description
    System.Boolean

    Border

    Gets or sets the border.

    Declaration
    [JsonProperty("border")]
    public int? Border { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Borders

    Gets or sets the borders.

    Declaration
    [JsonProperty("borders")]
    public int? Borders { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    CellType

    Gets or sets the celltype.

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

    CFormatRule

    Gets or sets the conditonal format rule.

    Declaration
    [JsonProperty("cFormatRule")]
    public List<int> CFormatRule { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    Chart

    Gets or sets the chart object.

    Declaration
    [JsonProperty("chart")]
    public List<string> Chart { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Comment

    Gets or sets the comments.

    Declaration
    [JsonProperty("comment")]
    public Comment Comment { get; set; }
    Property Value
    Type Description
    Comment

    CustomFormat

    Gets or sets the custom format.

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

    DecimalPlaces

    Gets or sets the decimal places.

    Declaration
    [JsonProperty("decimalPlaces")]
    public int? DecimalPlaces { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Format

    Gets or sets the format.

    Declaration
    [JsonProperty("format")]
    public int? Format { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Formats

    Gets or sets the formats.

    Declaration
    [JsonProperty("formats")]
    public int? Formats { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    FormatStr

    Gets or sets the decimal format string.

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

    FormulaRange

    Gets or sets the applied Formula range.

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

    HasFormulaArray

    Gets or sets the FormulaArray object.

    Declaration
    [JsonProperty("hasFormulaArray")]
    public bool HasFormulaArray { get; set; }
    Property Value
    Type Description
    System.Boolean

    HasMultipleFormulaArray

    Gets or sets the Multiple FormulaArray object.

    Declaration
    [JsonProperty("hasMultipleFormulaArray")]
    public bool HasMultipleFormulaArray { get; set; }
    Property Value
    Type Description
    System.Boolean

    Hyperlink

    Gets or sets the hyperlink.

    Declaration
    [JsonProperty("hyperlink")]
    public Hyperlink Hyperlink { get; set; }
    Property Value
    Type Description
    Hyperlink

    IsLocked

    Gets or sets a value indicating whether this instance is enable or not.

    Declaration
    [JsonProperty("isLocked")]
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the cell is locked; otherwise false. The default is false.

    IsRHide

    Gets or sets a value indicating whether this instance is applied or not.

    Declaration
    [JsonProperty("isRHide")]
    public bool IsRHide { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the row is hide; otherwise false. The default is false.

    Merge

    Gets or sets the merge object.

    Declaration
    [JsonProperty("merge")]
    public Merge Merge { get; set; }
    Property Value
    Type Description
    Merge

    Picture

    Gets or sets the picture object.

    Declaration
    [JsonProperty("picture")]
    public List<string> Picture { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Pivot

    Gets or sets the pivot object.

    Declaration
    [JsonProperty("pivot")]
    public List<string> Pivot { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    Rule

    Gets or sets the validation rule.

    Declaration
    [JsonProperty("rule")]
    public Validation Rule { get; set; }
    Property Value
    Type Description
    Validation

    Sparkline

    Gets or sets the sparkline object.

    Declaration
    [JsonProperty("sparkline")]
    public List<string> Sparkline { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    ThousandSeparator

    Gets or sets the thousand seperator.

    Declaration
    [JsonProperty("thousandSeparator")]
    public int? ThousandSeparator { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Type

    Gets or sets the type of the value.

    Declaration
    [JsonProperty("type")]
    public int Type { get; set; }
    Property Value
    Type Description
    System.Int32

    Value

    Gets or sets the value.

    Declaration
    [JsonProperty("value")]
    public int? Value { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Value2

    Gets or sets the value2.

    Declaration
    [JsonProperty("value2")]
    public object Value2 { get; set; }
    Property Value
    Type Description
    System.Object

    Wrap

    Gets or sets the wraptext.

    Declaration
    [JsonProperty("wrap")]
    public bool Wrap { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ToJson()

    Specified the attributes to string.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    Simple json string of CellAttributes.

    Implements

    IJsonSerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved