Class SpreadsheetCellTypeSettings
Specifies the class for celltype settings which includes type, background color, color, text, dataSourceRange, isChecked and value properties.
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 SpreadsheetCellTypeSettings : EJTagHelper
Constructors
SpreadsheetCellTypeSettings()
Declaration
public SpreadsheetCellTypeSettings()
Properties
BackgroundColor
Gets or sets the background-color.
Declaration
[JsonProperty("backgroundColor")]
public string BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The background-color for cell type. |
Color
Gets or sets the color.
Declaration
[JsonProperty("color")]
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The color for cell type. |
DataSourceRange
Gets or sets datasource range for dropdown cell type.
Declaration
[JsonProperty("dataSourceRange")]
[HtmlAttributeName("datasourcerange")]
public string DataSourceRange { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The datasource range for dropdown cell type. |
IsChecked
Gets or sets a value indicating whether this instance is checked or not.
Declaration
[JsonProperty("isChecked")]
public bool IsChecked { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | langword_csharp_True if the celltype checkbox is checked; otherwise, false. |
Text
Gets or sets the Text.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The text for cell type. |
Type
Gets or sets the Type.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("type")]
public CustomCellTypes Type { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomCellTypes | The type for cell type. |
Value
Gets or sets the value.
Declaration
[JsonProperty("value")]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The value for cell type. |