[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Fill

Fill Struct

Represent the fill formatting.

Implements
Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public struct Fill : IEquatable<Fill>
Public Structure Fill
    Implements IEquatable(Of Fill)

Constructors

Name Description
Fill(Color)

Initializes a new instance of the Fill class which represents a solid pattern fill.

Fill(PatternType, Color, Color)

Initializes a new instance of the Fill class.

Fields

Name Description
Empty

Represents a Border structure with its properties left uninitialized.

NoFill

Represents the blank fill formatting.

Properties

Name Description
BackgroundColor

Gets the background color of the pattern fill.

HasGradientEffect

Gets a value indicating whether this fill has gradient effect.

PatternColor

Gets the pattern color of the pattern fill.

PatternType

Gets the fill pattern type of this pattern fill.

Methods

Name Description
Equals(Fill)

Equalses the specified other.

Equals(ref Fill)

Equalses the specified other.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Serves as a hash function for a particular type.

IsEmpty()

Determines whether this instance is empty.

IsMatch(Workbook, ref Fill)

Gets a boolean value indicating whether the two fills are matched.

IsNoFill()

Determines whether this Fill represents no fill.

SwapColors()

Swaps the background color and pattern color.

Operators

Name Description
operator ==(Fill, Fill)

Returns a value that indicates whether two specified Fill values are equal.

operator !=(Fill, Fill)

Returns a value that indicates whether two specified Fill values are not equal.