# C1.Win.Sizer.Gradient

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Sizer_Gradient" data-uid="C1.Win.Sizer.Gradient" class="text-break">Gradient Class
</h1>
  <div class="markdown level0 summary"><p>Class that implements gradient backgrounds and exposes properties
that control the appearance of the gradient.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Gradient</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Sizer.html">C1.Win.Sizer</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Sizer.10.dll</h6>
  <h5 id="C1_Win_Sizer_Gradient_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class Gradient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class Gradient</code></pre>
  </div>
  <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="C1_Win_Sizer_Gradient_BackColor2" data-uid="C1.Win.Sizer.Gradient.BackColor2">
          <a class="xref" href="C1.Win.Sizer.Gradient.BackColor2.html#C1_Win_Sizer_Gradient_BackColor2">BackColor2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the secondary color used to build the background gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_Gradient_Blend" data-uid="C1.Win.Sizer.Gradient.Blend">
          <a class="xref" href="C1.Win.Sizer.Gradient.Blend.html#C1_Win_Sizer_Gradient_Blend">Blend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.Sizer.Gradient.Blend.html#C1_Win_Sizer_Gradient_Blend">Blend</a> used to paint the background gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_Gradient_Center" data-uid="C1.Win.Sizer.Gradient.Center">
          <a class="xref" href="C1.Win.Sizer.Gradient.Center.html#C1_Win_Sizer_Gradient_Center">Center</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> that represents the center of a radial gradient background in percentage units.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_Gradient_GammaCorrection" data-uid="C1.Win.Sizer.Gradient.GammaCorrection">
          <a class="xref" href="C1.Win.Sizer.Gradient.GammaCorrection.html#C1_Win_Sizer_Gradient_GammaCorrection">GammaCorrection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to apply gamma correction to the background gradient.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Sizer_Gradient_Mode" data-uid="C1.Win.Sizer.Gradient.Mode">
          <a class="xref" href="C1.Win.Sizer.Gradient.Mode.html#C1_Win_Sizer_Gradient_Mode">Mode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.GradientMode</span> used to paint the background.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
