Class SpreadsheetFormatBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetFormatBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.AspNetMvc.Spreadsheet.dll
Syntax
public class SpreadsheetFormatBuilder : ControlBuilder
Constructors
SpreadsheetFormatBuilder()
Declaration
public SpreadsheetFormatBuilder()
SpreadsheetFormatBuilder(SpreadsheetFormat)
Declaration
public SpreadsheetFormatBuilder(SpreadsheetFormat model)
Parameters
| Type | Name | Description |
|---|---|---|
| SpreadsheetFormat | model |
Methods
Format(String)
Specifies the number format code to display value in specified number format.
Declaration
public SpreadsheetFormatBuilder Format(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| SpreadsheetFormatBuilder |
IsLocked(Boolean)
Specifies the range is locked or not, for allow edit range in spreadsheet protect option.
Declaration
public SpreadsheetFormatBuilder IsLocked(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetFormatBuilder |
Style(Object)
Specifies the cell style options.
Declaration
public SpreadsheetFormatBuilder Style(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| SpreadsheetFormatBuilder |