# C1.Android.Calendar.CalendarSlotsPanel-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Calendar_CalendarSlotsPanel_1" data-uid="C1.Android.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.Android.Calendar.CalendarDaysOfWeekPanel.html">CalendarDaysOfWeekPanel</a></div>
      <div class="level2"><a class="xref" href="C1.Android.Calendar.CalendarDaysPanel.html">CalendarDaysPanel</a></div>
      <div class="level2"><a class="xref" href="C1.Android.Calendar.CalendarHeadersPanel.html">CalendarHeadersPanel</a></div>
      <div class="level2"><a class="xref" href="C1.Android.Calendar.CalendarMonthsPanel.html">CalendarMonthsPanel</a></div>
      <div class="level2"><a class="xref" href="C1.Android.Calendar.CalendarYearsPanel.html">CalendarYearsPanel</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../C1.Android.Core/C1.Android.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Android.Calendar.html">C1.Android.Calendar</a></h6>
  <h6><strong>Assembly</strong>: C1.Android.Calendar.dll</h6>
  <h5 id="C1_Android_Calendar_CalendarSlotsPanel_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class CalendarSlotsPanel&lt;S&gt; : ViewGroup, IDependencyObject where S : CalendarSlotInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class CalendarSlotsPanel(Of S As CalendarSlotInfo)
    Inherits ViewGroup
    Implements IDependencyObject</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_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.#ctor(Android.Content.Context)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.-ctor.html#C1_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_">CalendarSlotsPanel(Context)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the CalendarSlotsPanel class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.-ctor.html#C1_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_Android_Util_IAttributeSet_">CalendarSlotsPanel(Context, IAttributeSet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the CalendarSlotsPanel class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.-ctor.html#C1_Android_Calendar_CalendarSlotsPanel_1__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_">CalendarSlotsPanel(Context, IAttributeSet, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the CalendarSlotsPanel class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.-ctor.html#C1_Android_Calendar_CalendarSlotsPanel_1__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_">CalendarSlotsPanel(nint, JniHandleOwnership)</a>
        </td>
        <td class="markdown level1 summary"></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_Android_Calendar_CalendarSlotsPanel_1_ColumnsProperty" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.ColumnsProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.ColumnsProperty.html">ColumnsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Columns.html#C1_Android_Calendar_CalendarSlotsPanel_1_Columns">Columns</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_RowsProperty" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.RowsProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.RowsProperty.html">RowsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Rows.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_Adapter" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Adapter">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Adapter.html#C1_Android_Calendar_CalendarSlotsPanel_1_Adapter">Adapter</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the <a class="xref" href="C1.Android.Calendar.CalendarAdapter.html">CalendarAdapter</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_Calendar" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Calendar">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Calendar.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_Columns" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Columns">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Columns.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_EndOverflow" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.EndOverflow">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.EndOverflow.html#C1_Android_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 <a class="xref" href="C1.Android.Calendar.CalendarOrientation.html">CalendarOrientation</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_IsDisposed" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.IsDisposed">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.IsDisposed.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_Overflow" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Overflow">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Overflow.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_Rows" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Rows">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Rows.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_StartOverflow" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.StartOverflow">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.StartOverflow.html#C1_Android_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 <a class="xref" href="C1.Android.Calendar.CalendarOrientation.html">CalendarOrientation</a>.</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_Android_Calendar_CalendarSlotsPanel_1_Dispose_System_Boolean_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Dispose(System.Boolean)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Dispose.html#C1_Android_Calendar_CalendarSlotsPanel_1_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_GetSlots" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.GetSlots">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.GetSlots.html#C1_Android_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_Android_Calendar_CalendarSlotsPanel_1_OnAttachedToWindow" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.OnAttachedToWindow">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.OnAttachedToWindow.html#C1_Android_Calendar_CalendarSlotsPanel_1_OnAttachedToWindow">OnAttachedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_OnDetachedFromWindow" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.OnDetachedFromWindow">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.OnDetachedFromWindow.html#C1_Android_Calendar_CalendarSlotsPanel_1_OnDetachedFromWindow">OnDetachedFromWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.OnLayout(System.Boolean,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.OnLayout.html#C1_Android_Calendar_CalendarSlotsPanel_1_OnLayout_System_Boolean_System_Int32_System_Int32_System_Int32_System_Int32_">OnLayout(bool, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_OnMeasure_System_Int32_System_Int32_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.OnMeasure(System.Int32,System.Int32)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.OnMeasure.html#C1_Android_Calendar_CalendarSlotsPanel_1_OnMeasure_System_Int32_System_Int32_">OnMeasure(int, int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarSlotsPanel_1_Refresh_System_Boolean_" data-uid="C1.Android.Calendar.CalendarSlotsPanel`1.Refresh(System.Boolean)">
          <a class="xref" href="C1.Android.Calendar.CalendarSlotsPanel-1.Refresh.html#C1_Android_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>
