# C1.Win.Themes.ThemeGradientBackground.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Themes_ThemeGradientBackground__ctor_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor*">ThemeGradientBackground Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Themes_ThemeGradientBackground__ctor_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor*"></a>
<h4 id="C1_Win_Themes_ThemeGradientBackground__ctor" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor">ThemeGradientBackground()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ThemeGradientBackground class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ThemeGradientBackground()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_Themes_ThemeGradientBackground__ctor_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor*"></a>
<h4 id="C1_Win_Themes_ThemeGradientBackground__ctor_System_Drawing_Color_C1_Win_Themes_GradientColors_C1_Win_Themes_GradientModeBase_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor(System.Drawing.Color,C1.Win.Themes.GradientColors,C1.Win.Themes.GradientModeBase)">ThemeGradientBackground(Color, GradientColors, GradientModeBase)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ThemeGradientBackground class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ThemeGradientBackground(Color solidColor, GradientColors colors, GradientModeBase mode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(solidColor As Color, colors As GradientColors, mode As GradientModeBase)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">solidColor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.GradientColors.html">GradientColors</a></td>
      <td><span class="parametername">colors</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.GradientModeBase.html">GradientModeBase</a></td>
      <td><span class="parametername">mode</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Themes_ThemeGradientBackground__ctor_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor*"></a>
<h4 id="C1_Win_Themes_ThemeGradientBackground__ctor_C1_Win_Themes_ThemeColorValue_C1_Win_Themes_GradientColors_C1_Win_Themes_GradientModeBase_" data-uid="C1.Win.Themes.ThemeGradientBackground.#ctor(C1.Win.Themes.ThemeColorValue,C1.Win.Themes.GradientColors,C1.Win.Themes.GradientModeBase)">ThemeGradientBackground(ThemeColorValue, GradientColors, GradientModeBase)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the ThemeGradientBackground class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ThemeGradientBackground(ThemeColorValue solidColor, GradientColors colors, GradientModeBase mode)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(solidColor As ThemeColorValue, colors As GradientColors, mode As GradientModeBase)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">ThemeColorValue</span></td>
      <td><span class="parametername">solidColor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.GradientColors.html">GradientColors</a></td>
      <td><span class="parametername">colors</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.Themes.GradientModeBase.html">GradientModeBase</a></td>
      <td><span class="parametername">mode</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
