# C1.iOS.Calendar.CalendarTextSlotPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_iOS_Calendar_CalendarTextSlotPresenter" data-uid="C1.iOS.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.iOS.Core/C1.iOS.Core.C1View.html">C1View</a></div>
    <div class="level2"><a class="xref" href="../C1.iOS.Core/C1.iOS.Core.C1Border.html">C1Border</a></div>
    <div class="level3"><a class="xref" href="C1.iOS.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.iOS.Core/C1.iOS.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.iOS.Calendar.html">C1.iOS.Calendar</a></h6>
  <h6><strong>Assembly</strong>: C1.iOS.Calendar.dll</h6>
  <h5 id="C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter__ctor" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.#ctor">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_iOS_Calendar_CalendarTextSlotPresenter__ctor">CalendarTextSlotPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter__ctor_CoreGraphics_CGRect_" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.#ctor(CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_iOS_Calendar_CalendarTextSlotPresenter__ctor_CoreGraphics_CGRect_">CalendarTextSlotPresenter(CGRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter__ctor_System_IntPtr_" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.#ctor(System.IntPtr)">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.-ctor.html#C1_iOS_Calendar_CalendarTextSlotPresenter__ctor_System_IntPtr_">CalendarTextSlotPresenter(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.html">CalendarTextSlotPresenter</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_iOS_Calendar_CalendarTextSlotPresenter_HorizontalTextAlignmentProperty" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignmentProperty">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignmentProperty.html">HorizontalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment.html#C1_iOS_Calendar_CalendarTextSlotPresenter_HorizontalTextAlignment">HorizontalTextAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_TextMarginProperty" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.TextMarginProperty">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.TextMarginProperty.html">TextMarginProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.TextMargin.html#C1_iOS_Calendar_CalendarTextSlotPresenter_TextMargin">TextMargin</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_TextProperty" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.TextProperty">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.TextProperty.html">TextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.Text.html#C1_iOS_Calendar_CalendarTextSlotPresenter_Text">Text</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_VerticalTextAlignmentProperty" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.VerticalTextAlignmentProperty">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.VerticalTextAlignmentProperty.html">VerticalTextAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_HorizontalTextAlignment" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.HorizontalTextAlignment.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_NeedsRenderContent" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.NeedsRenderContent">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.NeedsRenderContent.html#C1_iOS_Calendar_CalendarTextSlotPresenter_NeedsRenderContent">NeedsRenderContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the <a class="xref" href="../C1.iOS.Core/C1.iOS.Core.C1Border.OnRenderContent.html#C1_iOS_Core_C1Border_OnRenderContent_CoreGraphics_CGContext_CoreGraphics_CGRect_">OnRenderContent(CGContext, CGRect)</a> method needs to be executed and the clipping of the content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_Text" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.Text">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.Text.html#C1_iOS_Calendar_CalendarTextSlotPresenter_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_TextMargin" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.TextMargin">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.TextMargin.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_VerticalTextAlignment" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.VerticalTextAlignment.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_Dispose_System_Boolean_" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.Dispose(System.Boolean)">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.Dispose.html#C1_iOS_Calendar_CalendarTextSlotPresenter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_GetContentMeasureSize_CoreGraphics_CGSize_System_Boolean_System_Boolean_" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.GetContentMeasureSize(CoreGraphics.CGSize,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.GetContentMeasureSize.html#C1_iOS_Calendar_CalendarTextSlotPresenter_GetContentMeasureSize_CoreGraphics_CGSize_System_Boolean_System_Boolean_">GetContentMeasureSize(CGSize, 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_iOS_Calendar_CalendarTextSlotPresenter_MovedToWindow" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.MovedToWindow">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.MovedToWindow.html#C1_iOS_Calendar_CalendarTextSlotPresenter_MovedToWindow">MovedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_OnFlowDirectionChanged" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.OnFlowDirectionChanged">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.OnFlowDirectionChanged.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_OnFontChanged" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.OnFontChanged">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.OnFontChanged.html#C1_iOS_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_iOS_Calendar_CalendarTextSlotPresenter_OnForegroundChanged" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.OnForegroundChanged">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.OnForegroundChanged.html#C1_iOS_Calendar_CalendarTextSlotPresenter_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the foreground changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Calendar_CalendarTextSlotPresenter_OnRenderContent_CoreGraphics_CGContext_CoreGraphics_CGRect_" data-uid="C1.iOS.Calendar.CalendarTextSlotPresenter.OnRenderContent(CoreGraphics.CGContext,CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Calendar.CalendarTextSlotPresenter.OnRenderContent.html#C1_iOS_Calendar_CalendarTextSlotPresenter_OnRenderContent_CoreGraphics_CGContext_CoreGraphics_CGRect_">OnRenderContent(CGContext, CGRect)</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>
