# C1.Win.Calendar.UI.BaseStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Calendar_UI_BaseStyle" data-uid="C1.Win.Calendar.UI.BaseStyle" class="text-break">BaseStyle Class
</h1>
  <div class="markdown level0 summary"><p>Base style for all styles in <a class="xref" href="C1.Win.Calendar.C1CalendarView.html">C1CalendarView</a>.</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">BaseStyle</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.BaseArrowStyle.html">BaseArrowStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.CommonStyle.html">CommonStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.DayStyle.html">DayStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.DayTitleStyle.html">DayTitleStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.MonthTitleStyle.html">MonthTitleStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.TodayCaptionStyle.html">TodayCaptionStyle</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Calendar.UI.WeekTitleStyle.html">WeekTitleStyle</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Calendar.UI.html">C1.Win.Calendar.UI</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Calendar.10.dll</h6>
  <h5 id="C1_Win_Calendar_UI_BaseStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class BaseStyle : BaseC1FrameworkStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public MustInherit Class BaseStyle
    Inherits BaseC1FrameworkStyle</code></pre>
  </div>
  <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_Win_Calendar_UI_BaseStyle_BackColor" data-uid="C1.Win.Calendar.UI.BaseStyle.BackColor">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.BackColor.html#C1_Win_Calendar_UI_BaseStyle_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_Border" data-uid="C1.Win.Calendar.UI.BaseStyle.Border">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.Border.html#C1_Win_Calendar_UI_BaseStyle_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_BorderColor" data-uid="C1.Win.Calendar.UI.BaseStyle.BorderColor">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.BorderColor.html#C1_Win_Calendar_UI_BaseStyle_BorderColor">BorderColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to draw the border around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_HorizontalAlignment" data-uid="C1.Win.Calendar.UI.BaseStyle.HorizontalAlignment">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.HorizontalAlignment.html#C1_Win_Calendar_UI_BaseStyle_HorizontalAlignment">HorizontalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how elements should be aligned in the horizontal direction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_Margins" data-uid="C1.Win.Calendar.UI.BaseStyle.Margins">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.Margins.html#C1_Win_Calendar_UI_BaseStyle_Margins">Margins</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the margins around the element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_Padding" data-uid="C1.Win.Calendar.UI.BaseStyle.Padding">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.Padding.html#C1_Win_Calendar_UI_BaseStyle_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the thickness of the padding between the element edges and its content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_BaseStyle_VerticalAlignment" data-uid="C1.Win.Calendar.UI.BaseStyle.VerticalAlignment">
          <a class="xref" href="C1.Win.Calendar.UI.BaseStyle.VerticalAlignment.html#C1_Win_Calendar_UI_BaseStyle_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how elements should be aligned in the vertical direction.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
