# GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle*">CreateStyle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_GrapeCity_ActiveReports_Rendering_Components_StyleProgram_GrapeCity_ActiveReports_Rendering_IDataScopeInternal_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle(GrapeCity.ActiveReports.Rendering.Components.StyleProgram,GrapeCity.ActiveReports.Rendering.IDataScopeInternal)">CreateStyle(StyleProgram, IDataScopeInternal)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IStyle CreateStyle(StyleProgram program, IDataScopeInternal dataScope)</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.StyleProgram.html">StyleProgram</a></td>
      <td><span class="parametername">program</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rendering.IDataScopeInternal.html">IDataScopeInternal</a></td>
      <td><span class="parametername">dataScope</span></td>
      <td></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.Extensibility.Rendering.Components.IStyle.html">IStyle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_GrapeCity_ActiveReports_PageReportModel_Style_System_IServiceProvider_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle(GrapeCity.ActiveReports.PageReportModel.Style,System.IServiceProvider)">CreateStyle(Style, IServiceProvider)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IStyle CreateStyle(Style style, IServiceProvider item)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></td>
      <td><span class="parametername">item</span></td>
      <td></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.Extensibility.Rendering.Components.IStyle.html">IStyle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_Interfaces_IReportRenderingContext_CreateStyle_GrapeCity_ActiveReports_PageReportModel_Style_GrapeCity_ActiveReports_Core_Rendering_IExpressionEvaluatorService_" data-uid="GrapeCity.ActiveReports.Rendering.Components.Interfaces.IReportRenderingContext.CreateStyle(GrapeCity.ActiveReports.PageReportModel.Style,GrapeCity.ActiveReports.Core.Rendering.IExpressionEvaluatorService)">CreateStyle(Style, IExpressionEvaluatorService)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IStyle CreateStyle(Style style, IExpressionEvaluatorService expressionEvaluator)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.IExpressionEvaluatorService.html">IExpressionEvaluatorService</a></td>
      <td><span class="parametername">expressionEvaluator</span></td>
      <td></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.Extensibility.Rendering.Components.IStyle.html">IStyle</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
