# GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.Parse

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle_Parse_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.Parse*">Parse Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle_Parse_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.Parse*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle_Parse_GrapeCity_ActiveReports_Extensibility_Rendering_IPropertyBag_System_String_GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.Parse(GrapeCity.ActiveReports.Extensibility.Rendering.IPropertyBag,System.String,GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle)">Parse(IPropertyBag, string, FillStyle)</h4>
<div class="markdown level1 summary"><p>Collects <a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.html">FillStyle</a> instance from <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.IPropertyBag.html">IPropertyBag</a> using the given substitution.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static FillStyle Parse(IPropertyBag properties, string substitution, FillStyle defaultValue)</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.Extensibility.Rendering.IPropertyBag.html">IPropertyBag</a></td>
      <td><span class="parametername">properties</span></td>
      <td><p>property collections represented by <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.IPropertyBag.html">IPropertyBag</a></p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">substitution</span></td>
      <td><p>substitution to resolve a full name of property</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.html">FillStyle</a></td>
      <td><span class="parametername">defaultValue</span></td>
      <td><p>the default value will be returned if properties do not contain fill style values</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rendering.Components.Dashboard.FillStyle.html">FillStyle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle_Parse_GrapeCity_ActiveReports_Extensibility_Rendering_IPropertyBag_System_String_GrapeCity_ActiveReports_Rendering_Components_Dashboard_FillStyle__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If default value is null and there are no fill style properties in property bag then the White color will be returned.</p>
</div>
</div>
