# C1.WPF.Schedule.C1CalendarItemPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_C1CalendarItemPresenter" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter" class="text-break">C1CalendarItemPresenter Class
</h1>
  <div class="markdown level0 summary"><p>An instance of this class is used in the C1CalendarItem's template
visual tree to define a place where a panel with calendar days will appear.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.selector">Selector</a></div>
    <div class="level9"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.listbox">ListBox</a></div>
    <div class="level10"><span class="xref">C1CalendarItemPresenter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.icontainitemstorage">IContainItemStorage</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iweakeventlistener">IWeakEventListener</a></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_C1CalendarItemPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1CalendarItemPresenter : ListBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IWeakEventListener</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1CalendarItemPresenter
    Inherits ListBox
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IWeakEventListener</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_WPF_Schedule_C1CalendarItemPresenter__ctor" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.-ctor.html#C1_WPF_Schedule_C1CalendarItemPresenter__ctor">C1CalendarItemPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.html">C1CalendarItemPresenter</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_WPF_Schedule_C1CalendarItemPresenter_Calendar" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.Calendar">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.Calendar.html#C1_WPF_Schedule_C1CalendarItemPresenter_Calendar">Calendar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> owning the control.</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_C1CalendarItemPresenter_GetContainerForItemOverride" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.GetContainerForItemOverride">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.GetContainerForItemOverride.html#C1_WPF_Schedule_C1CalendarItemPresenter_GetContainerForItemOverride">GetContainerForItemOverride()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates or identifies the element used to display the specified item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarItemPresenter_OnApplyTemplate" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.OnApplyTemplate.html#C1_WPF_Schedule_C1CalendarItemPresenter_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarItemPresenter_OnCreateAutomationPeer" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.OnCreateAutomationPeer.html#C1_WPF_Schedule_C1CalendarItemPresenter_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an AutomationPeer object used for testing the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1CalendarItemPresenter_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_" data-uid="C1.WPF.Schedule.C1CalendarItemPresenter.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)">
          <a class="xref" href="C1.WPF.Schedule.C1CalendarItemPresenter.ReceiveWeakEvent.html#C1_WPF_Schedule_C1CalendarItemPresenter_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_">ReceiveWeakEvent(Type, object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Receives events from the centralized event manager.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
