Class SpreadsheetCellStyleBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetCellStyleBuilder
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.EJ2.dll
Syntax
public class SpreadsheetCellStyleBuilder : ControlBuilder
Constructors
SpreadsheetCellStyleBuilder()
Declaration
public SpreadsheetCellStyleBuilder()
SpreadsheetCellStyleBuilder(SpreadsheetCellStyle)
Declaration
public SpreadsheetCellStyleBuilder(SpreadsheetCellStyle model)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetCellStyle | model |
Methods
BackgroundColor(String)
Specifies background color to the cell.
Declaration
public SpreadsheetCellStyleBuilder BackgroundColor(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Border(String)
Specifies border of the cell.
Declaration
public SpreadsheetCellStyleBuilder Border(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
BorderBottom(String)
Specifies bottom border of the cell.
Declaration
public SpreadsheetCellStyleBuilder BorderBottom(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
BorderLeft(String)
Specifies left border of the cell.
Declaration
public SpreadsheetCellStyleBuilder BorderLeft(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
BorderRight(String)
Specifies right border of the cell.
Declaration
public SpreadsheetCellStyleBuilder BorderRight(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
BorderTop(String)
Specifies top border of the cell.
Declaration
public SpreadsheetCellStyleBuilder BorderTop(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Color(String)
Specifies font color to the cell.
Declaration
public SpreadsheetCellStyleBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
FontSize(String)
Specifies font size to the cell.
Declaration
public SpreadsheetCellStyleBuilder FontSize(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
FontStyle(FontStyle)
Specifies font style to the cell.
Declaration
public SpreadsheetCellStyleBuilder FontStyle(FontStyle value)
Parameters
Type | Name | Description |
---|---|---|
FontStyle | value |
Returns
FontWeight(FontWeight)
Specifies font weight to the cell.
Declaration
public SpreadsheetCellStyleBuilder FontWeight(FontWeight value)
Parameters
Type | Name | Description |
---|---|---|
FontWeight | value |
Returns
TextAlign(TextAlign)
Specifies text align style to the cell.
Declaration
public SpreadsheetCellStyleBuilder TextAlign(TextAlign value)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | value |
Returns
TextIndent(String)
Specifies text indent style to the cell.
Declaration
public SpreadsheetCellStyleBuilder TextIndent(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
VerticalAlign(VerticalAlign)
Specifies vertical align to the cell.
Declaration
public SpreadsheetCellStyleBuilder VerticalAlign(VerticalAlign value)
Parameters
Type | Name | Description |
---|---|---|
VerticalAlign | value |