Class SpreadsheetFormatBuilder
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.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
Type | Description |
---|---|
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 | Description |
---|---|
SpreadsheetFormatBuilder |
Style(Object)
Specifies the cell style options.
Declaration
public SpreadsheetFormatBuilder Style(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
SpreadsheetFormatBuilder |