# GrapeCity.ActiveReports.Rdl.Themes.Theme

## Content

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



  <h1 id="GrapeCity_ActiveReports_Rdl_Themes_Theme" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme" class="text-break">Theme Class
</h1>
  <div class="markdown level0 summary"><p>Represents a theme that contains various design elements such as fonts, images, and colors.</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"><span class="xref">Theme</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.html">GrapeCity.ActiveReports.Rdl.Themes</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rdl_Themes_Theme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Theme</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_Rdl_Themes_Theme__ctor" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.-ctor.html#GrapeCity_ActiveReports_Rdl_Themes_Theme__ctor">Theme()</a>
        </td>
        <td class="markdown level1 summary"></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_Rdl_Themes_Theme_Colors" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Colors">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Colors.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Colors">Colors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the colors associated with this theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_Constants" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Constants">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Constants.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Constants">Constants</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the theme constants collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_ConstantsDictionary" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.ConstantsDictionary">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.ConstantsDictionary.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_ConstantsDictionary">ConstantsDictionary</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the constants dictionary associated with this theme.
Use only for serialization. For API usage, the <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Constants.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Constants">Constants</a> property should be used.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_Fonts" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Fonts">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Fonts.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Fonts">Fonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fonts associated with this theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_Images" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Images">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Images.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Images">Images</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the images associated with this theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_IsEmpty" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.IsEmpty">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.IsEmpty.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the theme is empty.
For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_Item_System_String_" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Item.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a property value by its 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_Rdl_Themes_Theme_Create_System_String_GrapeCity_ActiveReports_ResourceLocator_" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Create(System.String,GrapeCity.ActiveReports.ResourceLocator)">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Create.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Create_System_String_GrapeCity_ActiveReports_ResourceLocator_">Create(string, ResourceLocator)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a theme using the specified theme URI and resource locator.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Themes_Theme_Load_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.Rdl.Themes.Theme.Load(System.IO.Stream)">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Themes.Theme.Load.html#GrapeCity_ActiveReports_Rdl_Themes_Theme_Load_System_IO_Stream_">Load(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads a theme from the specified XML stream.</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>
