Class ExcelStyle
Toplevel class for cell styling
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: Experior.Core.Data.OfficeOpenXml.Style
Assembly: Experior.Core.dll
Syntax
public sealed class ExcelStyle : StyleBase
Properties
Border
Border
Declaration
public Border Border { get; set; }
Property Value
Type | Description |
---|---|
Border |
Fill
Fill Styling
Declaration
public ExcelFill Fill { get; set; }
Property Value
Type | Description |
---|---|
ExcelFill |
Font
Font styling
Declaration
public ExcelFont Font { get; set; }
Property Value
Type | Description |
---|---|
ExcelFont |
Hidden
If true the formula is hidden when the sheet is protected. Protection
Declaration
public bool Hidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HorizontalAlignment
The horizontal alignment in the cell
Declaration
public ExcelHorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
ExcelHorizontalAlignment |
Indent
The margin between the border and the text
Declaration
public int Indent { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Locked
If true the cell is locked for editing when the sheet is protected Protection
Declaration
public bool Locked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Numberformat
Numberformat
Declaration
public ExcelNumberFormat Numberformat { get; set; }
Property Value
Type | Description |
---|---|
ExcelNumberFormat |
ReadingOrder
Readingorder
Declaration
public ExcelReadingOrder ReadingOrder { get; set; }
Property Value
Type | Description |
---|---|
ExcelReadingOrder |
ShrinkToFit
Shrink the text to fit
Declaration
public bool ShrinkToFit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TextRotation
TextBlock orientation in degrees. Values range from 0 to 180.
Declaration
public int TextRotation { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
VerticalAlignment
The vertical alignment in the cell
Declaration
public ExcelVerticalAlignment VerticalAlignment { get; set; }
Property Value
Type | Description |
---|---|
ExcelVerticalAlignment |
WrapText
Wrap the text
Declaration
public bool WrapText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
XfId
The index in the style collection
Declaration
public int XfId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |