Skip to main content

XlFill Members

Contains the cell background attributes.

Constructors

Name Description
XlFill() Initializes a new instance of the XlFill class with the default settings.

Properties

Name Description
BackColor Gets or sets the background color of the cell pattern fill.
ForeColor Gets or sets the foreground color of the cell pattern fill.
PatternType Gets or sets the type of the pattern applied to a cell background.

Methods

Name Description
Clone() Creates a copy of the current XlFill object.
CopyFrom(XlFill) Copies the appropriate properties of the specified object into the current instance of the XlFill class.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current XlFill instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current XlFill object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NoFill() static Returns the XlFill object specifying that a cell has no fill.
PatternFill(XlPatternType, XlColor, XlColor) static Creates the XlFill object that specifies the pattern fill for a cell background.
PatternFill(XlPatternType) static Creates the XlFill object that specifies the automatic pattern fill for a cell background.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SolidFill(XlColor) static Creates the XlFill object that specifies the solid fill for a cell background.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also