# C1.WinUI.Calendar.CalendarSlotsPanel-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Calendar_CalendarSlotsPanel_1" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1" class="text-break">CalendarSlotsPanel&lt;S&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Abstract panel used to render days, month years and days of weeks as a uniform grid which also allows rendering slots out of view.</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"><span class="xref">CalendarSlotsPanel&lt;S&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.WinUI.Calendar.CalendarDaysOfWeekPanel.html">CalendarDaysOfWeekPanel</a></div>
      <div class="level2"><a class="xref" href="C1.WinUI.Calendar.CalendarDaysPanel.html">CalendarDaysPanel</a></div>
      <div class="level2"><a class="xref" href="C1.WinUI.Calendar.CalendarHeadersPanel.html">CalendarHeadersPanel</a></div>
      <div class="level2"><a class="xref" href="C1.WinUI.Calendar.CalendarMonthsPanel.html">CalendarMonthsPanel</a></div>
      <div class="level2"><a class="xref" href="C1.WinUI.Calendar.CalendarYearsPanel.html">CalendarYearsPanel</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Calendar.html">C1.WinUI.Calendar</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Calendar.dll</h6>
  <h5 id="C1_WinUI_Calendar_CalendarSlotsPanel_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class CalendarSlotsPanel&lt;S&gt; : Panel where S : CalendarSlotInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class CalendarSlotsPanel(Of S As CalendarSlotInfo)
    Inherits Panel</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">S</span></td>
        <td><p>The type of the slot. Inherit this class to add custom properties.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_WinUI_Calendar_CalendarSlotsPanel_1__ctor" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.#ctor">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.-ctor.html#C1_WinUI_Calendar_CalendarSlotsPanel_1__ctor">CalendarSlotsPanel()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.html">CalendarSlotsPanel&lt;S&gt;</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_WinUI_Calendar_CalendarSlotsPanel_1_ColumnsProperty" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.ColumnsProperty">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.ColumnsProperty.html">ColumnsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Columns.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Columns">Columns</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_RowsProperty" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.RowsProperty">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.RowsProperty.html">RowsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Rows.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Rows">Rows</a> dependency property.</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_WinUI_Calendar_CalendarSlotsPanel_1_Adapter" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Adapter">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Adapter.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Adapter">Adapter</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the <a class="xref" href="C1.WinUI.Calendar.CalendarAdapter.html">CalendarAdapter</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Calendar" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Calendar">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Calendar.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Calendar">Calendar</a>
        </td>
        <td class="markdown level1 summary"><p>The calendar associated to the panel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Columns" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Columns">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Columns.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of visible columns.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_EndOverflow" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.EndOverflow">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.EndOverflow.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_EndOverflow">EndOverflow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the length in pixels of the elements that are out of view at the end considering <span class="xref">Microsoft.UI.Xaml.Controls.Orientation</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_IsDisposed" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.IsDisposed">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.IsDisposed.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Overflow" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Overflow">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Overflow.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Overflow">Overflow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the lengths in pixels of the visible boundaries.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Rows" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Rows">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Rows.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Rows">Rows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of visible rows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_StartOverflow" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.StartOverflow">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.StartOverflow.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_StartOverflow">StartOverflow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the length in pixels of the elements that are out of view at the start considering <span class="xref">Microsoft.UI.Xaml.Controls.Orientation</span>.</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_WinUI_Calendar_CalendarSlotsPanel_1_ArrangeOverride_Windows_Foundation_Size_" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.ArrangeOverride(Windows.Foundation.Size)">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.ArrangeOverride.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_ArrangeOverride_Windows_Foundation_Size_">ArrangeOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Dispose" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Dispose">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Dispose.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Dispose_System_Boolean_" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Dispose(System.Boolean)">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Dispose.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Finalize" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Finalize">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Finalize.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_GetSlots" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.GetSlots">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.GetSlots.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_GetSlots">GetSlots()</a>
        </td>
        <td class="markdown level1 summary"><p>When overriden, it returns the slots that will be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_MeasureOverride_Windows_Foundation_Size_" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.MeasureOverride(Windows.Foundation.Size)">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.MeasureOverride.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_MeasureOverride_Windows_Foundation_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_OnApplyTemplate" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.OnApplyTemplate">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.OnApplyTemplate.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WinUI_Calendar_CalendarSlotsPanel_1_Refresh_System_Boolean_" data-uid="C1.WinUI.Calendar.CalendarSlotsPanel`1.Refresh(System.Boolean)">
          <a class="xref" href="C1.WinUI.Calendar.CalendarSlotsPanel-1.Refresh.html#C1_WinUI_Calendar_CalendarSlotsPanel_1_Refresh_System_Boolean_">Refresh(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Recreates the slots.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
