# C1.Win.Schedule.UI.CalendarTheme

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Schedule_UI_CalendarTheme" data-uid="C1.Win.Schedule.UI.CalendarTheme" class="text-break">CalendarTheme Class
</h1>
  <div class="markdown level0 summary"><p>The <span class="xref">C1.Framework.Theme</span> class represents the theme for the C1Calendar control.
It is a set of <span class="xref">C1.Framework.Style</span> objects which contain display attributes
that determine the appearance of control.</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="C1.Win.Schedule.UI.BaseTheme.html">BaseTheme</a></div>
    <div class="level2"><span class="xref">CalendarTheme</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Schedule.UI.html">C1.Win.Schedule.UI</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Schedule.4.8.dll</h6>
  <h5 id="C1_Win_Schedule_UI_CalendarTheme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BaseThemeConverter))]
public class CalendarTheme : BaseTheme, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(BaseThemeConverter))&gt;
Public Class CalendarTheme
    Inherits BaseTheme
    Implements IComponent, IDisposable</code></pre>
  </div>
  <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="C1_Win_Schedule_UI_CalendarTheme_BaseFont" data-uid="C1.Win.Schedule.UI.CalendarTheme.BaseFont">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.BaseFont.html#C1_Win_Schedule_UI_CalendarTheme_BaseFont">BaseFont</a>
        </td>
        <td class="markdown level1 summary"><p>Set this property in order to change <span class="xref">C1.Framework.Style.Font</span>values
in all <span class="xref">C1.Framework.Style</span> objects at once.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_ComponentType" data-uid="C1.Win.Schedule.UI.CalendarTheme.ComponentType">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.ComponentType.html#C1_Win_Schedule_UI_CalendarTheme_ComponentType">ComponentType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2007Black" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2007Black">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2007Black.html#C1_Win_Schedule_UI_CalendarTheme_Office2007Black">Office2007Black</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2007Black">Office2007Black</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2007Blue" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2007Blue">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2007Blue.html#C1_Win_Schedule_UI_CalendarTheme_Office2007Blue">Office2007Blue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2007Blue">Office2007Blue</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2007Silver" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2007Silver">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2007Silver.html#C1_Win_Schedule_UI_CalendarTheme_Office2007Silver">Office2007Silver</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2007Silver">Office2007Silver</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2010Black" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2010Black">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2010Black.html#C1_Win_Schedule_UI_CalendarTheme_Office2010Black">Office2010Black</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2010Black">Office2010Black</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2010Blue" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2010Blue">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2010Blue.html#C1_Win_Schedule_UI_CalendarTheme_Office2010Blue">Office2010Blue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2010Blue">Office2010Blue</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Office2010Silver" data-uid="C1.Win.Schedule.UI.CalendarTheme.Office2010Silver">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Office2010Silver.html#C1_Win_Schedule_UI_CalendarTheme_Office2010Silver">Office2010Silver</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_Office2010Silver">Office2010Silver</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_System" data-uid="C1.Win.Schedule.UI.CalendarTheme.System">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.System.html#C1_Win_Schedule_UI_CalendarTheme_System">System</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predefined theme of the <a class="xref" href="C1.Win.Schedule.UI.VisualStyle.html#C1_Win_Schedule_UI_VisualStyle_System">System</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_XmlDefinition" data-uid="C1.Win.Schedule.UI.CalendarTheme.XmlDefinition">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.XmlDefinition.html#C1_Win_Schedule_UI_CalendarTheme_XmlDefinition">XmlDefinition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value representing the VisualStyle in xml encoding.</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="C1_Win_Schedule_UI_CalendarTheme_Dispose_System_Boolean_" data-uid="C1.Win.Schedule.UI.CalendarTheme.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Dispose.html#C1_Win_Schedule_UI_CalendarTheme_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_LoadThemes_System_String_" data-uid="C1.Win.Schedule.UI.CalendarTheme.LoadThemes(System.String)">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.LoadThemes.html#C1_Win_Schedule_UI_CalendarTheme_LoadThemes_System_String_">LoadThemes(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads a collection of themes from an Xml file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_OnThemeChanged" data-uid="C1.Win.Schedule.UI.CalendarTheme.OnThemeChanged">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.OnThemeChanged.html#C1_Win_Schedule_UI_CalendarTheme_OnThemeChanged">OnThemeChanged()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_ReadCustomData_System_Xml_XmlNode_" data-uid="C1.Win.Schedule.UI.CalendarTheme.ReadCustomData(System.Xml.XmlNode)">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.ReadCustomData.html#C1_Win_Schedule_UI_CalendarTheme_ReadCustomData_System_Xml_XmlNode_">ReadCustomData(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_WriteCustomData_System_Xml_XmlWriter_" data-uid="C1.Win.Schedule.UI.CalendarTheme.WriteCustomData(System.Xml.XmlWriter)">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.WriteCustomData.html#C1_Win_Schedule_UI_CalendarTheme_WriteCustomData_System_Xml_XmlWriter_">WriteCustomData(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
