# C1.WPF.Schedule.C1CalendarResources

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_C1CalendarResources" data-uid="C1.WPF.Schedule.C1CalendarResources" class="text-break">C1CalendarResources Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.html">C1CalendarResources</a> keeps the set of resources used by the <a class="xref" href="C1.WPF.Schedule.CalendarBase.html">CalendarBase</a> derived controls.
Static fields of this class return default CalendarBase's themes.</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.WPF.Schedule.ThemeResources.html">ThemeResources</a></div>
    <div class="level2"><span class="xref">C1CalendarResources</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.4.6.2.dll</h6>
  <h5 id="C1_WPF_Schedule_C1CalendarResources_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1CalendarResources : ThemeResources</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1CalendarResources
    Inherits ThemeResources</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_C1CalendarResources_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Resource lookup behavior:</p>
<ul><li>
If Theme property is set to something other than Classic System Colors theme, the lookup 
process checks for the requested key within the resource dictionary defined by the current control theme
</li><li>
The lookup process checks resources in a usual way (in page, window or application resources)
</li><li>
The lookup process checks resources in default theme dictionary.
</li></ul>
</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_WPF_Schedule_C1CalendarResources__ctor" data-uid="C1.WPF.Schedule.C1CalendarResources.#ctor">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.-ctor.html#C1_WPF_Schedule_C1CalendarResources__ctor">C1CalendarResources()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new instance of the <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.html">C1CalendarResources</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Default" data-uid="C1.WPF.Schedule.C1CalendarResources.Default">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Default.html">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing Default theme.
This theme uses system-defined colors.
This is a default theme for calendar controls.</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_WPF_Schedule_C1CalendarResources_DayOfWeekSlotStyle" data-uid="C1.WPF.Schedule.C1CalendarResources.DayOfWeekSlotStyle">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DayOfWeekSlotStyle.html#C1_WPF_Schedule_C1CalendarResources_DayOfWeekSlotStyle">DayOfWeekSlotStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> object describing day of week slot style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DayOfWeekSlotTemplate" data-uid="C1.WPF.Schedule.C1CalendarResources.DayOfWeekSlotTemplate">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DayOfWeekSlotTemplate.html#C1_WPF_Schedule_C1CalendarResources_DayOfWeekSlotTemplate">DayOfWeekSlotTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.datatemplate">DataTemplate</a> defining a UI representation of
a single day of week.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DaySlotStyle" data-uid="C1.WPF.Schedule.C1CalendarResources.DaySlotStyle">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DaySlotStyle.html#C1_WPF_Schedule_C1CalendarResources_DaySlotStyle">DaySlotStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> object describing the style of single day slot.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DaySlotTemplate" data-uid="C1.WPF.Schedule.C1CalendarResources.DaySlotTemplate">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DaySlotTemplate.html#C1_WPF_Schedule_C1CalendarResources_DaySlotTemplate">DaySlotTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.datatemplate">DataTemplate</a> defining a UI representation of
a single day of a month.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DaysOfWeekPanel" data-uid="C1.WPF.Schedule.C1CalendarResources.DaysOfWeekPanel">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DaysOfWeekPanel.html#C1_WPF_Schedule_C1CalendarResources_DaysOfWeekPanel">DaysOfWeekPanel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemspaneltemplate">ItemsPanelTemplate</a> defining the panel that lays out elements
representing days of week.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DaysPanel" data-uid="C1.WPF.Schedule.C1CalendarResources.DaysPanel">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DaysPanel.html#C1_WPF_Schedule_C1CalendarResources_DaysPanel">DaysPanel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemspaneltemplate">ItemsPanelTemplate</a> object defining the panel that lays out elements
representing days of a month.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DuskBlue" data-uid="C1.WPF.Schedule.C1CalendarResources.DuskBlue">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DuskBlue.html#C1_WPF_Schedule_C1CalendarResources_DuskBlue">DuskBlue</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Gets the ResourceDictionary representing CalendarBase Dusk Blue theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_DuskGreen" data-uid="C1.WPF.Schedule.C1CalendarResources.DuskGreen">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.DuskGreen.html#C1_WPF_Schedule_C1CalendarResources_DuskGreen">DuskGreen</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Gets the ResourceDictionary representing CalendarBase Dusk Green theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_MediaPlayer" data-uid="C1.WPF.Schedule.C1CalendarResources.MediaPlayer">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.MediaPlayer.html#C1_WPF_Schedule_C1CalendarResources_MediaPlayer">MediaPlayer</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Gets the ResourceDictionary representing CalendarBase Media Player theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_MonthCalendarStyle" data-uid="C1.WPF.Schedule.C1CalendarResources.MonthCalendarStyle">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.MonthCalendarStyle.html#C1_WPF_Schedule_C1CalendarResources_MonthCalendarStyle">MonthCalendarStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> object describing style of a single month in a multi-month calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_MonthSlotStyle" data-uid="C1.WPF.Schedule.C1CalendarResources.MonthSlotStyle">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.MonthSlotStyle.html#C1_WPF_Schedule_C1CalendarResources_MonthSlotStyle">MonthSlotStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.style">Style</a> object describing style of C1CalendarPresenter elements
which are the root elements of a visual tree representing a single month in a multi-month calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_MonthsPanel" data-uid="C1.WPF.Schedule.C1CalendarResources.MonthsPanel">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.MonthsPanel.html#C1_WPF_Schedule_C1CalendarResources_MonthsPanel">MonthsPanel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemspaneltemplate">ItemsPanelTemplate</a> defining the panel that lays out elements
representing separate months in a multi-month calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2007Black" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2007Black">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2007Black.html#C1_WPF_Schedule_C1CalendarResources_Office2007Black">Office2007Black</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2007 Black theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2007Blue" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2007Blue">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2007Blue.html#C1_WPF_Schedule_C1CalendarResources_Office2007Blue">Office2007Blue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2007 Blue theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2007Silver" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2007Silver">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2007Silver.html#C1_WPF_Schedule_C1CalendarResources_Office2007Silver">Office2007Silver</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2007 Silver theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2010Black" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2010Black">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2010Black.html#C1_WPF_Schedule_C1CalendarResources_Office2010Black">Office2010Black</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2010 Black theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2010Blue" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2010Blue">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2010Blue.html#C1_WPF_Schedule_C1CalendarResources_Office2010Blue">Office2010Blue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2010 Blue theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2010Silver" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2010Silver">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2010Silver.html#C1_WPF_Schedule_C1CalendarResources_Office2010Silver">Office2010Silver</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2010 Silver theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2016Black" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2016Black">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2016Black.html#C1_WPF_Schedule_C1CalendarResources_Office2016Black">Office2016Black</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2016 Black theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2016Colorful" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2016Colorful">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2016Colorful.html#C1_WPF_Schedule_C1CalendarResources_Office2016Colorful">Office2016Colorful</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2016 Colorful theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2016DarkGray" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2016DarkGray">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2016DarkGray.html#C1_WPF_Schedule_C1CalendarResources_Office2016DarkGray">Office2016DarkGray</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2016 Dark Gray theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Office2016White" data-uid="C1.WPF.Schedule.C1CalendarResources.Office2016White">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Office2016White.html#C1_WPF_Schedule_C1CalendarResources_Office2016White">Office2016White</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ResourceDictionary representing CalendarBase Office 2016 White theme.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Theme" data-uid="C1.WPF.Schedule.C1CalendarResources.Theme">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Theme.html#C1_WPF_Schedule_C1CalendarResources_Theme">Theme</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.resourcedictionary">ResourceDictionary</a> object used as the theme for the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarResources_Vista" data-uid="C1.WPF.Schedule.C1CalendarResources.Vista">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.Vista.html#C1_WPF_Schedule_C1CalendarResources_Vista">Vista</a>
        </td>
        <td class="markdown level1 summary"><p>Obsolete. Gets the ResourceDictionary representing CalendarBase Vista theme.</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_WPF_Schedule_C1CalendarResources_RefreshResources" data-uid="C1.WPF.Schedule.C1CalendarResources.RefreshResources">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarResources.RefreshResources.html#C1_WPF_Schedule_C1CalendarResources_RefreshResources">RefreshResources()</a>
        </td>
        <td class="markdown level1 summary"><p>Refreshes resources according to the currently selected theme.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
