Class ExcelFill¶
Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
The background fill of a cell
Inheritance¶
object ← StyleBase ← ExcelFill
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
BackgroundColor¶
The background color
Property Value¶
Gradient¶
Access to properties for gradient fill.
Property Value¶
PatternColor¶
The color of the pattern
Property Value¶
PatternType¶
The pattern for solid fills.
Property Value¶
Methods¶
SetBackground(Color, ExcelFillStyle)¶
Set the background to a specific color and fillstyle
Parameters¶
color Color
the color
fillStyle ExcelFillStyle
The fillstyle. Default Solid
SetBackground(ExcelIndexedColor, ExcelFillStyle)¶
Set the background to a specific color and fillstyle
Parameters¶
color ExcelIndexedColor
The indexed color
fillStyle ExcelFillStyle
The fillstyle. Default Solid
SetBackground(eThemeSchemeColor, ExcelFillStyle)¶
Set the background to a specific color and fillstyle
Parameters¶
color eThemeSchemeColor
The theme color
fillStyle ExcelFillStyle
The fillstyle. Default Solid