# 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.10.dll</h6>
  <h5 id="C1_Win_Schedule_UI_CalendarTheme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalendarTheme : BaseTheme, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalendarTheme
    Inherits BaseTheme
    Implements IComponent, IDisposable</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="C1_Win_Schedule_UI_CalendarTheme__ctor_System_String_" data-uid="C1.Win.Schedule.UI.CalendarTheme.#ctor(System.String)">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.-ctor.html#C1_Win_Schedule_UI_CalendarTheme__ctor_System_String_">CalendarTheme(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.html">CalendarTheme</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="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_Day" data-uid="C1.Win.Schedule.UI.CalendarTheme.Day">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Day.html#C1_Win_Schedule_UI_CalendarTheme_Day">Day</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the ordinal day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DayBold" data-uid="C1.Win.Schedule.UI.CalendarTheme.DayBold">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DayBold.html#C1_Win_Schedule_UI_CalendarTheme_DayBold">DayBold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the bold day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DayHeader" data-uid="C1.Win.Schedule.UI.CalendarTheme.DayHeader">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DayHeader.html#C1_Win_Schedule_UI_CalendarTheme_DayHeader">DayHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the day header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DaySelected" data-uid="C1.Win.Schedule.UI.CalendarTheme.DaySelected">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DaySelected.html#C1_Win_Schedule_UI_CalendarTheme_DaySelected">DaySelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the selected day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DaySelectedBold" data-uid="C1.Win.Schedule.UI.CalendarTheme.DaySelectedBold">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DaySelectedBold.html#C1_Win_Schedule_UI_CalendarTheme_DaySelectedBold">DaySelectedBold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the day which is selected and bold at the same time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DayToday" data-uid="C1.Win.Schedule.UI.CalendarTheme.DayToday">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DayToday.html#C1_Win_Schedule_UI_CalendarTheme_DayToday">DayToday</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the displaying style of the current day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DayTrail" data-uid="C1.Win.Schedule.UI.CalendarTheme.DayTrail">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DayTrail.html#C1_Win_Schedule_UI_CalendarTheme_DayTrail">DayTrail</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the trail day. Trail day is a day which doesn't belong to the currently
displayed month (i.e. the day before the first or after the last day of the month).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_DayWeekend" data-uid="C1.Win.Schedule.UI.CalendarTheme.DayWeekend">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.DayWeekend.html#C1_Win_Schedule_UI_CalendarTheme_DayWeekend">DayWeekend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the weekend day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Default" data-uid="C1.Win.Schedule.UI.CalendarTheme.Default">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Default.html#C1_Win_Schedule_UI_CalendarTheme_Default">Default</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_Default">Default</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_UI_CalendarTheme_Header" data-uid="C1.Win.Schedule.UI.CalendarTheme.Header">
          <a class="xref" href="C1.Win.Schedule.UI.CalendarTheme.Header.html#C1_Win_Schedule_UI_CalendarTheme_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Framework.Style</span> object determining
the style of the month header.</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>
