Class CellStyle
Summary description for CellStyle.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class CellStyle : ExtendedFormatWrapper, IInternalExtendedFormat, IXFIndex, ICloneParent, IStyle, IExtendedFormat, IParentApplication, IOptimizedUpdate
Constructors
CellStyle(RangeImpl)
Creates new instance of cell style.
Declaration
public CellStyle(RangeImpl range)
Parameters
Type | Name | Description |
---|---|---|
RangeImpl | range | Parent range. |
CellStyle(RangeImpl, Int32)
Creates new instance of cell style.
Declaration
public CellStyle(RangeImpl range, int iXFIndex)
Parameters
Type | Name | Description |
---|---|---|
RangeImpl | range | Parent range. |
System.Int32 | iXFIndex | Index of extended format to wrap. |
Properties
BottomBorderColor
Get/set BottomBorder color.
Declaration
public override ColorObject BottomBorderColor { get; }
Property Value
Type |
---|
ColorObject |
Overrides
BottomBorderLineStyle
Gets / sets line style of the top border.
Declaration
public override ExcelLineStyle BottomBorderLineStyle { get; set; }
Property Value
Type |
---|
ExcelLineStyle |
Overrides
LeftBorderColor
Get/set LeftBorder color.
Declaration
public override ColorObject LeftBorderColor { get; }
Property Value
Type |
---|
ColorObject |
Overrides
LeftBorderLineStyle
Gets / sets line style of the left border.
Declaration
public override ExcelLineStyle LeftBorderLineStyle { get; set; }
Property Value
Type |
---|
ExcelLineStyle |
Overrides
RightBorderColor
Get/set RightBorder color.
Declaration
public override ColorObject RightBorderColor { get; }
Property Value
Type |
---|
ColorObject |
Overrides
RightBorderLineStyle
Gets / sets line style of the right border.
Declaration
public override ExcelLineStyle RightBorderLineStyle { get; set; }
Property Value
Type |
---|
ExcelLineStyle |
Overrides
TopBorderColor
Get/set TopBorder color.
Declaration
public override ColorObject TopBorderColor { get; }
Property Value
Type |
---|
ColorObject |
Overrides
TopBorderLineStyle
Gets / sets line style of the top border.
Declaration
public override ExcelLineStyle TopBorderLineStyle { get; set; }
Property Value
Type |
---|
ExcelLineStyle |
Overrides
Methods
BeforeRead()
This method is called before reading any value. Can be used to update wrapped object before read operation.
Declaration
protected override void BeforeRead()
Overrides
BeginUpdate()
This method is called before changes in extended format.
Declaration
public override void BeginUpdate()
Overrides
EndUpdate()
This method is called after changes in extended format.
Declaration
public override void EndUpdate()
Overrides
GetBottomBorderColor(Boolean)
Get line color of the bottom border.
Declaration
protected ColorObject GetBottomBorderColor(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ColorObject |
GetBottomLineStyle(Boolean)
Get line style of the bottom border.
Declaration
protected ExcelLineStyle GetBottomLineStyle(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ExcelLineStyle |
GetLeftBorderColor(Boolean)
Gets line color of the left border.
Declaration
protected ColorObject GetLeftBorderColor(bool askAdjacent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjacent |
Returns
Type |
---|
ColorObject |
GetLeftLineStyle(Boolean)
Gets line style of the left border.
Declaration
protected ExcelLineStyle GetLeftLineStyle(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ExcelLineStyle |
GetRightBorderColor(Boolean)
Gets line color of the right border.
Declaration
protected ColorObject GetRightBorderColor(bool askAdjacent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjacent |
Returns
Type |
---|
ColorObject |
GetRightLineStyle(Boolean)
Gets line style of the right border.
Declaration
protected ExcelLineStyle GetRightLineStyle(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ExcelLineStyle |
GetTopBorderColor(Boolean)
Gets line color of the top border.
Declaration
protected ColorObject GetTopBorderColor(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ColorObject |
GetTopLineStyle(Boolean)
Gets line style of the top border.
Declaration
protected ExcelLineStyle GetTopLineStyle(bool askAdjecent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | askAdjecent |
Returns
Type |
---|
ExcelLineStyle |
SetParents(Object)
Searches for all necessary parent objects.
Declaration
protected override void SetParents(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | Parent object. |