# GrapeCity.ActiveReports.PageReportModel.StyleSheet

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_StyleSheet" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet" class="text-break">StyleSheet Class
</h1>
  <div class="markdown level0 summary"><p>Represents a stylesheet for a report, containing a collection of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a> objects.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div class="level2"><span class="xref">StyleSheet</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_StyleSheet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class StyleSheet : List&lt;Style&gt;, IList&lt;Style&gt;, ICollection&lt;Style&gt;, IList, ICollection, IReadOnlyList&lt;Style&gt;, IReadOnlyCollection&lt;Style&gt;, IEnumerable&lt;Style&gt;, IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_StyleSheet__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.-ctor.html#GrapeCity_ActiveReports_PageReportModel_StyleSheet__ctor">StyleSheet()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.html">StyleSheet</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_ActiveReports_PageReportModel_StyleSheet_AutoUpgrade" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet.AutoUpgrade">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.AutoUpgrade.html#GrapeCity_ActiveReports_PageReportModel_StyleSheet_AutoUpgrade">AutoUpgrade</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the stylesheet should automatically upgrade.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_StyleSheet_Item_System_String_" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Item.html#GrapeCity_ActiveReports_PageReportModel_StyleSheet_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a specific <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Style.html">Style</a> object in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.html">StyleSheet</a> using a specified name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_StyleSheet_Load_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Load(System.IO.Stream)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Load.html#GrapeCity_ActiveReports_PageReportModel_StyleSheet_Load_System_IO_Stream_">Load(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.html">StyleSheet</a> object from a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_StyleSheet_Save_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Save(System.IO.Stream)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.Save.html#GrapeCity_ActiveReports_PageReportModel_StyleSheet_Save_System_IO_Stream_">Save(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StyleSheet.html">StyleSheet</a> object to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
