# C1.Win.Calendar.UI.CommonStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Calendar_UI_CommonStyle" data-uid="C1.Win.Calendar.UI.CommonStyle" class="text-break">CommonStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.html">CommonStyle</a> class contains display common attributes that
determine the appearance of <a class="xref" href="C1.Win.Calendar.C1CalendarView.html">C1CalendarView</a> on the screen.</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.Win.Calendar.UI.BaseStyle.html">BaseStyle</a></div>
    <div class="level2"><span class="xref">CommonStyle</span></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_CommonStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CommonStyle : BaseStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CommonStyle
    Inherits BaseStyle</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_Win_Calendar_UI_CommonStyle__ctor" data-uid="C1.Win.Calendar.UI.CommonStyle.#ctor">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.-ctor.html#C1_Win_Calendar_UI_CommonStyle__ctor">CommonStyle()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_Calendar_UI_CommonStyle_BackImage" data-uid="C1.Win.Calendar.UI.CommonStyle.BackImage">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.BackImage.html#C1_Win_Calendar_UI_CommonStyle_BackImage">BackImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background image for the <a class="xref" href="C1.Win.Calendar.C1CalendarView.html">C1CalendarView</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_CommonStyle_BackImageAlignment" data-uid="C1.Win.Calendar.UI.CommonStyle.BackImageAlignment">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.BackImageAlignment.html#C1_Win_Calendar_UI_CommonStyle_BackImageAlignment">BackImageAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alignment used to render the background image of <a class="xref" href="C1.Win.Calendar.C1CalendarView.html">C1CalendarView</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_CommonStyle_BackImageScaling" data-uid="C1.Win.Calendar.UI.CommonStyle.BackImageScaling">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.BackImageScaling.html#C1_Win_Calendar_UI_CommonStyle_BackImageScaling">BackImageScaling</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the scaling used to render the background image of the <a class="xref" href="C1.Win.Calendar.C1CalendarView.html">C1CalendarView</a> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_CommonStyle_Font" data-uid="C1.Win.Calendar.UI.CommonStyle.Font">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.Font.html#C1_Win_Calendar_UI_CommonStyle_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets text font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_CommonStyle_VerticalAlignment" data-uid="C1.Win.Calendar.UI.CommonStyle.VerticalAlignment">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.VerticalAlignment.html#C1_Win_Calendar_UI_CommonStyle_VerticalAlignment">VerticalAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how elements should be aligned in the vertical direction when VerticalOrientationLayout is set to True.</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_Win_Calendar_UI_CommonStyle_ResetFont" data-uid="C1.Win.Calendar.UI.CommonStyle.ResetFont">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.ResetFont.html#C1_Win_Calendar_UI_CommonStyle_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Calendar_UI_CommonStyle_ShouldSerializeFont" data-uid="C1.Win.Calendar.UI.CommonStyle.ShouldSerializeFont">
          <a class="xref" href="C1.Win.Calendar.UI.CommonStyle.ShouldSerializeFont.html#C1_Win_Calendar_UI_CommonStyle_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
