# GrapeCity.Spreadsheet.Drawing.GradientStyle

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Spreadsheet_Drawing_GradientStyle" data-uid="GrapeCity.Spreadsheet.Drawing.GradientStyle" class="text-break">GradientStyle Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the style for a gradient fill.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Drawing.html">GrapeCity.Spreadsheet.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Drawing_GradientStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GradientStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GradientStyle</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_DiagonalDown">DiagonalDown</td>
        <td><p>Diagonal gradient moving from a top corner down to the opposite corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_DiagonalUp">DiagonalUp</td>
        <td><p>Diagonal gradient moving from a bottom corner up to the opposite corner.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_FromCenter">FromCenter</td>
        <td><p>Gradient running from the center out to the corners.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_FromCorner">FromCorner</td>
        <td><p>Gradient running from a corner to the other three corners.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_Horizontal">Horizontal</td>
        <td><p>Gradient running horizontally across the shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_Unspecified">Unspecified</td>
        <td><p>Not used</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_GradientStyle_Vertical">Vertical</td>
        <td><p>Gradient running vertically down the shape.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
