# C1.Android.Calendar.CalendarTextSlotPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Android_Calendar_CalendarTextSlotPresenter" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter" class="text-break">CalendarTextSlotPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Slot presenter that is only able to show text</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.Android.Core/C1.Android.Core.C1View.html">C1View</a></div>
    <div class="level2"><a class="xref" href="../C1.Android.Core/C1.Android.Core.C1Border.html">C1Border</a></div>
    <div class="level3"><a class="xref" href="C1.Android.Calendar.CalendarSlotPresenter.html">CalendarSlotPresenter</a></div>
    <div class="level4"><span class="xref">CalendarTextSlotPresenter</span></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_CalendarTextSlotPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalendarTextSlotPresenter : CalendarSlotPresenter, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalendarTextSlotPresenter
    Inherits CalendarSlotPresenter
    Implements IDependencyObject</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_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.#ctor(Android.Content.Context)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_">CalendarTextSlotPresenter(Context)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_Android_Util_IAttributeSet_">CalendarTextSlotPresenter(Context, IAttributeSet)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_Android_Calendar_CalendarTextSlotPresenter__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_">CalendarTextSlotPresenter(Context, IAttributeSet, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_Android_Calendar_CalendarTextSlotPresenter__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_">CalendarTextSlotPresenter(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_CalendarTextSlotPresenter_HorizontalTextAlignmentProperty" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignmentProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignmentProperty.html">HorizontalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment.html#C1_Android_Calendar_CalendarTextSlotPresenter_HorizontalTextAlignment">HorizontalTextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_TextMarginProperty" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.TextMarginProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.TextMarginProperty.html">TextMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.TextMargin.html#C1_Android_Calendar_CalendarTextSlotPresenter_TextMargin">TextMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_TextProperty" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.TextProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.TextProperty.html">TextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.Text.html#C1_Android_Calendar_CalendarTextSlotPresenter_Text">Text</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_VerticalTextAlignmentProperty" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.VerticalTextAlignmentProperty">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.VerticalTextAlignmentProperty.html">VerticalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment.html#C1_Android_Calendar_CalendarTextSlotPresenter_VerticalTextAlignment">VerticalTextAlignment</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_CalendarTextSlotPresenter_HorizontalTextAlignment" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment.html#C1_Android_Calendar_CalendarTextSlotPresenter_HorizontalTextAlignment">HorizontalTextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text horizontal alignment.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_NeedsRenderContent" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.NeedsRenderContent">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.NeedsRenderContent.html#C1_Android_Calendar_CalendarTextSlotPresenter_NeedsRenderContent">NeedsRenderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the <a class="xref" href="../C1.Android.Core/C1.Android.Core.C1Border.OnRenderContent.html#C1_Android_Core_C1Border_OnRenderContent_Android_Graphics_Canvas_C1_Android_Core_C1Rect_">OnRenderContent(Canvas, C1Rect)</a> method needs to be executed and the clipping of the content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_Text" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.Text">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.Text.html#C1_Android_Calendar_CalendarTextSlotPresenter_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_TextMargin" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.TextMargin">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.TextMargin.html#C1_Android_Calendar_CalendarTextSlotPresenter_TextMargin">TextMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text margin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_VerticalTextAlignment" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment.html#C1_Android_Calendar_CalendarTextSlotPresenter_VerticalTextAlignment">VerticalTextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text vertical alignment.</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_CalendarTextSlotPresenter_Dispose_System_Boolean_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.Dispose(System.Boolean)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.Dispose.html#C1_Android_Calendar_CalendarTextSlotPresenter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_GetContentMeasureSize_C1_Android_Core_C1Size_System_Boolean_System_Boolean_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.GetContentMeasureSize(C1.Android.Core.C1Size,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.GetContentMeasureSize.html#C1_Android_Calendar_CalendarTextSlotPresenter_GetContentMeasureSize_C1_Android_Core_C1Size_System_Boolean_System_Boolean_">GetContentMeasureSize(C1Size, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the measure of the content of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnAttachedToWindow" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnAttachedToWindow">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnAttachedToWindow.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnAttachedToWindow">OnAttachedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnDetachedFromWindow" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnDetachedFromWindow">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnDetachedFromWindow.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnDetachedFromWindow">OnDetachedFromWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnFlowDirectionChanged" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnFlowDirectionChanged">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnFlowDirectionChanged.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnFlowDirectionChanged">OnFlowDirectionChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the flow direction changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnFontChanged" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnFontChanged">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnFontChanged.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnFontChanged">OnFontChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when any of the font properties changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnForegroundChanged" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnForegroundChanged">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnForegroundChanged.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the foreground changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Android_Calendar_CalendarTextSlotPresenter_OnRenderContent_Android_Graphics_Canvas_C1_Android_Core_C1Rect_" data-uid="C1.Android.Calendar.CalendarTextSlotPresenter.OnRenderContent(Android.Graphics.Canvas,C1.Android.Core.C1Rect)">
          <a class="xref" href="C1.Android.Calendar.CalendarTextSlotPresenter.OnRenderContent.html#C1_Android_Calendar_CalendarTextSlotPresenter_OnRenderContent_Android_Graphics_Canvas_C1_Android_Core_C1Rect_">OnRenderContent(Canvas, C1Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Draw the content of the control in the specified <code class="paramref">drawingContext</code>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
