# GrapeCity.Spreadsheet.Fill

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Fill" data-uid="GrapeCity.Spreadsheet.Fill" class="text-break">Fill Struct
</h1>
  <div class="markdown level0 summary"><p>Represent the fill formatting.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Fill_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Fill : IEquatable&lt;Fill&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Fill
    Implements IEquatable(Of Fill)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill__ctor_GrapeCity_Spreadsheet_Color_" data-uid="GrapeCity.Spreadsheet.Fill.#ctor(GrapeCity.Spreadsheet.Color)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.-ctor.html#GrapeCity_Spreadsheet_Fill__ctor_GrapeCity_Spreadsheet_Color_">Fill(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a> class which represents a solid pattern fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill__ctor_GrapeCity_Spreadsheet_PatternType_GrapeCity_Spreadsheet_Color_GrapeCity_Spreadsheet_Color_" data-uid="GrapeCity.Spreadsheet.Fill.#ctor(GrapeCity.Spreadsheet.PatternType,GrapeCity.Spreadsheet.Color,GrapeCity.Spreadsheet.Color)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.-ctor.html#GrapeCity_Spreadsheet_Fill__ctor_GrapeCity_Spreadsheet_PatternType_GrapeCity_Spreadsheet_Color_GrapeCity_Spreadsheet_Color_">Fill(PatternType, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_Empty" data-uid="GrapeCity.Spreadsheet.Fill.Empty">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <a class="xref" href="GrapeCity.Spreadsheet.Border.html">Border</a> structure with its properties left uninitialized.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_NoFill" data-uid="GrapeCity.Spreadsheet.Fill.NoFill">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.NoFill.html">NoFill</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the blank fill formatting.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_BackgroundColor" data-uid="GrapeCity.Spreadsheet.Fill.BackgroundColor">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.BackgroundColor.html#GrapeCity_Spreadsheet_Fill_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the background color of the pattern fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_HasGradientEffect" data-uid="GrapeCity.Spreadsheet.Fill.HasGradientEffect">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.HasGradientEffect.html#GrapeCity_Spreadsheet_Fill_HasGradientEffect">HasGradientEffect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this fill has gradient effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_PatternColor" data-uid="GrapeCity.Spreadsheet.Fill.PatternColor">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.PatternColor.html#GrapeCity_Spreadsheet_Fill_PatternColor">PatternColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the pattern color of the pattern fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_PatternType" data-uid="GrapeCity.Spreadsheet.Fill.PatternType">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.PatternType.html#GrapeCity_Spreadsheet_Fill_PatternType">PatternType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fill pattern type of this pattern fill.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_Equals_GrapeCity_Spreadsheet_Fill_" data-uid="GrapeCity.Spreadsheet.Fill.Equals(GrapeCity.Spreadsheet.Fill)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.Equals.html#GrapeCity_Spreadsheet_Fill_Equals_GrapeCity_Spreadsheet_Fill_">Equals(Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Equalses the specified other.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_Equals_GrapeCity_Spreadsheet_Fill__" data-uid="GrapeCity.Spreadsheet.Fill.Equals(GrapeCity.Spreadsheet.Fill@)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.Equals.html#GrapeCity_Spreadsheet_Fill_Equals_GrapeCity_Spreadsheet_Fill__">Equals(ref Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Equalses the specified other.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_Equals_System_Object_" data-uid="GrapeCity.Spreadsheet.Fill.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.Equals.html#GrapeCity_Spreadsheet_Fill_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_GetHashCode" data-uid="GrapeCity.Spreadsheet.Fill.GetHashCode">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.GetHashCode.html#GrapeCity_Spreadsheet_Fill_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a particular type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_IsEmpty" data-uid="GrapeCity.Spreadsheet.Fill.IsEmpty">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.IsEmpty.html#GrapeCity_Spreadsheet_Fill_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this instance is empty.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_IsMatch_GrapeCity_Spreadsheet_Workbook_GrapeCity_Spreadsheet_Fill__" data-uid="GrapeCity.Spreadsheet.Fill.IsMatch(GrapeCity.Spreadsheet.Workbook,GrapeCity.Spreadsheet.Fill@)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.IsMatch.html#GrapeCity_Spreadsheet_Fill_IsMatch_GrapeCity_Spreadsheet_Workbook_GrapeCity_Spreadsheet_Fill__">IsMatch(Workbook, ref Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether the two fills are matched.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_IsNoFill" data-uid="GrapeCity.Spreadsheet.Fill.IsNoFill">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.IsNoFill.html#GrapeCity_Spreadsheet_Fill_IsNoFill">IsNoFill()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this <a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a> represents no fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_SwapColors" data-uid="GrapeCity.Spreadsheet.Fill.SwapColors">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.SwapColors.html#GrapeCity_Spreadsheet_Fill_SwapColors">SwapColors()</a>
        </td>
        <td class="markdown level1 summary"><p>Swaps the background color and pattern color.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_op_Equality_GrapeCity_Spreadsheet_Fill_GrapeCity_Spreadsheet_Fill_" data-uid="GrapeCity.Spreadsheet.Fill.op_Equality(GrapeCity.Spreadsheet.Fill,GrapeCity.Spreadsheet.Fill)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.op_Equality.html#GrapeCity_Spreadsheet_Fill_op_Equality_GrapeCity_Spreadsheet_Fill_GrapeCity_Spreadsheet_Fill_">operator ==(Fill, Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value that indicates whether two specified <a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a> values are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Fill_op_Inequality_GrapeCity_Spreadsheet_Fill_GrapeCity_Spreadsheet_Fill_" data-uid="GrapeCity.Spreadsheet.Fill.op_Inequality(GrapeCity.Spreadsheet.Fill,GrapeCity.Spreadsheet.Fill)">
          <a class="xref" href="GrapeCity.Spreadsheet.Fill.op_Inequality.html#GrapeCity_Spreadsheet_Fill_op_Inequality_GrapeCity_Spreadsheet_Fill_GrapeCity_Spreadsheet_Fill_">operator !=(Fill, Fill)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value that indicates whether two specified <a class="xref" href="GrapeCity.Spreadsheet.Fill.html">Fill</a> values are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
