# C1.Maui.Core.C1Border

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Core_C1Border" data-uid="C1.Maui.Core.C1Border" class="text-break">C1Border Class
</h1>
  <div class="markdown level0 summary"><p>Basic control used to draw a border around another 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"><a class="xref" href="C1.Maui.Core.C1View.html">C1View</a></div>
    <div class="level2"><span class="xref">C1Border</span></div>
      <div class="level3"><a class="xref" href="../C1.Maui.Calendar/C1.Maui.Calendar.CalendarSlotPresenter.html">CalendarSlotPresenter</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Maui.Core.html">C1.Maui.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Core.dll</h6>
  <h5 id="C1_Maui_Core_C1Border_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Border : C1View, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Border
    Inherits C1View
    Implements IDisposable</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_Maui_Core_C1Border__ctor" data-uid="C1.Maui.Core.C1Border.#ctor">
          <a class="xref" href="C1.Maui.Core.C1Border.-ctor.html#C1_Maui_Core_C1Border__ctor">C1Border()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.Core.C1Border.html">C1Border</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_Maui_Core_C1Border_BorderAlignmentProperty" data-uid="C1.Maui.Core.C1Border.BorderAlignmentProperty">
          <a class="xref" href="C1.Maui.Core.C1Border.BorderAlignmentProperty.html">BorderAlignmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1Border.BorderAlignment.html#C1_Maui_Core_C1Border_BorderAlignment">BorderAlignment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Border__borderAlignment" data-uid="C1.Maui.Core.C1Border._borderAlignment">
          <a class="xref" href="C1.Maui.Core.C1Border._borderAlignment.html">_borderAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the way to draw the borders.</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_Maui_Core_C1Border_BorderAlignment" data-uid="C1.Maui.Core.C1Border.BorderAlignment">
          <a class="xref" href="C1.Maui.Core.C1Border.BorderAlignment.html#C1_Maui_Core_C1Border_BorderAlignment">BorderAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the way to draw the borders.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Border_Content" data-uid="C1.Maui.Core.C1Border.Content">
          <a class="xref" href="C1.Maui.Core.C1Border.Content.html#C1_Maui_Core_C1Border_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content to show inside the border.</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_Maui_Core_C1Border_Dispose_System_Boolean_" data-uid="C1.Maui.Core.C1Border.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Core.C1Border.Dispose.html#C1_Maui_Core_C1Border_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Border_OnBorderAlignmentChanged" data-uid="C1.Maui.Core.C1Border.OnBorderAlignmentChanged">
          <a class="xref" href="C1.Maui.Core.C1Border.OnBorderAlignmentChanged.html#C1_Maui_Core_C1Border_OnBorderAlignmentChanged">OnBorderAlignmentChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the border alignment changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1Border_OnPropertyChanged_System_String_" data-uid="C1.Maui.Core.C1Border.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.Maui.Core.C1Border.OnPropertyChanged.html#C1_Maui_Core_C1Border_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
