# C1.WPF.Schedule.C1SchedulerPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_C1SchedulerPresenter" data-uid="C1.WPF.Schedule.C1SchedulerPresenter" class="text-break">C1SchedulerPresenter Class
</h1>
  <div class="markdown level0 summary"><p>An instance of this class is used in the C1Scheduler's template
visual tree to define a place where a pane representing schedule time intervals
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.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.itemscontrol">ItemsControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.selector">Selector</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.listbox">ListBox</a></div>
    <div class="level8"><a class="xref" href="C1.WPF.Schedule.VisualIntervalsPresenter.html">VisualIntervalsPresenter</a></div>
    <div class="level9"><span class="xref">C1SchedulerPresenter</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><span class="xref">IWeakEventListener</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.dll</h6>
  <h5 id="C1_WPF_Schedule_C1SchedulerPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1SchedulerPresenter : VisualIntervalsPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IWeakEventListener</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1SchedulerPresenter
    Inherits VisualIntervalsPresenter
    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_C1SchedulerPresenter__ctor" data-uid="C1.WPF.Schedule.C1SchedulerPresenter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.C1SchedulerPresenter.-ctor.html#C1_WPF_Schedule_C1SchedulerPresenter__ctor">C1SchedulerPresenter()</a>
        </td>
        <td class="markdown level1 summary"></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_C1SchedulerPresenter_AttachSchedulerEvents" data-uid="C1.WPF.Schedule.C1SchedulerPresenter.AttachSchedulerEvents">
          <a class="xref" href="C1.WPF.Schedule.C1SchedulerPresenter.AttachSchedulerEvents.html#C1_WPF_Schedule_C1SchedulerPresenter_AttachSchedulerEvents">AttachSchedulerEvents()</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches presenter to the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.html">C1Scheduler</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1SchedulerPresenter_DetachFromScheduler_C1_WPF_Schedule_C1Scheduler_" data-uid="C1.WPF.Schedule.C1SchedulerPresenter.DetachFromScheduler(C1.WPF.Schedule.C1Scheduler)">
          <a class="xref" href="C1.WPF.Schedule.C1SchedulerPresenter.DetachFromScheduler.html#C1_WPF_Schedule_C1SchedulerPresenter_DetachFromScheduler_C1_WPF_Schedule_C1Scheduler_">DetachFromScheduler(C1Scheduler)</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches presenter from the specified <a class="xref" href="C1.WPF.Schedule.C1Scheduler.html">C1Scheduler</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_C1SchedulerPresenter_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_" data-uid="C1.WPF.Schedule.C1SchedulerPresenter.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)">
          <a class="xref" href="C1.WPF.Schedule.C1SchedulerPresenter.ReceiveWeakEvent.html#C1_WPF_Schedule_C1SchedulerPresenter_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>
      <tr>
        <td id="C1_WPF_Schedule_C1SchedulerPresenter_SelectItems_System_DateTime_System_DateTime_" data-uid="C1.WPF.Schedule.C1SchedulerPresenter.SelectItems(System.DateTime,System.DateTime)">
          <a class="xref" href="C1.WPF.Schedule.C1SchedulerPresenter.SelectItems.html#C1_WPF_Schedule_C1SchedulerPresenter_SelectItems_System_DateTime_System_DateTime_">SelectItems(DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects all items from time interval determined by the specified start and end values.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
