Class SpreadsheetCellTypeBuilder<T>
Represents a class for Spreadsheet CellType options which includes sheet and cell type properties.
Inheritance
System.Object
SpreadsheetCellTypeBuilder<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 SpreadsheetCellTypeBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetCellTypeBuilder(Sheet)
Initializes a new instance of the SpreadsheetCellTypeBuilder<T> with the specified sheetOptions.
Declaration
public SpreadsheetCellTypeBuilder(Sheet sheetOptions)
Parameters
Type | Name | Description |
---|---|---|
Sheet | sheetOptions | The sheet options in sheet object |
Methods
Add()
This method is used to add a Celltype.
Declaration
public void Add()
Range(String)
Specifies the Range for cell type builder.
Declaration
public SpreadsheetCellTypeBuilder<T> Range(string range)
Parameters
Type | Name | Description |
---|---|---|
System.String | range | The Celltype range as string. |
Returns
Type | Description |
---|---|
SpreadsheetCellTypeBuilder<T> |
Setting(SpreadsheetCellTypeSettings)
Specifies the celltype Setting.
Declaration
public SpreadsheetCellTypeBuilder<T> Setting(SpreadsheetCellTypeSettings setting)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetCellTypeSettings | setting | The Celltype setting. |
Returns
Type | Description |
---|---|
SpreadsheetCellTypeBuilder<T> |
Setting(Action<SpreadsheetCellTypeSettingBuilder<T>>)
Specifies the celltype settings.
Declaration
public SpreadsheetCellTypeBuilder<T> Setting(Action<SpreadsheetCellTypeSettingBuilder<T>> setting)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetCellTypeSettingBuilder<T>> | setting | The celltype setting. |
Returns
Type | Description |
---|---|
SpreadsheetCellTypeBuilder<T> |