# GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.#ctor*">FillStyle Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__ctor_System_Drawing_Color_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.#ctor(System.Drawing.Color)">FillStyle(Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.html">FillStyle</a> class with the specified fill color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FillStyle(Color fillColor)</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">fillColor</span></td>
      <td><p>The fill color.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__ctor_GrapeCity_ActiveReports_Rendering_Components_Dashboard_GradientType_System_Drawing_Color_System_Drawing_Color_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.#ctor(GrapeCity.ActiveReports.Rendering.Components.Dashboard.GradientType,System.Drawing.Color,System.Drawing.Color)">FillStyle(GradientType, Color, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.html">FillStyle</a> class with the specified gradient type, fill color, and gradient end color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FillStyle(GradientType gradientType, Color fillColor, Color gradientEndColor)</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="GrapeCity.ActiveReports.Rendering.Components.Dashboard.GradientType.html">GradientType</a></td>
      <td><span class="parametername">gradientType</span></td>
      <td><p>The gradient type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">fillColor</span></td>
      <td><p>The fill color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">gradientEndColor</span></td>
      <td><p>The gradient end color.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
