Class SpreadsheetFormatBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetFormatBuilder
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.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
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
Style(Object)
Specifies the cell style options.
Declaration
public SpreadsheetFormatBuilder Style(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |