# C1.Win.Schedule.UI.PaletteOffice2016.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Schedule_UI_PaletteOffice2016__ctor_" data-uid="C1.Win.Schedule.UI.PaletteOffice2016.#ctor*">PaletteOffice2016 Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Schedule_UI_PaletteOffice2016__ctor_" data-uid="C1.Win.Schedule.UI.PaletteOffice2016.#ctor*"></a>
<h4 id="C1_Win_Schedule_UI_PaletteOffice2016__ctor_C1_Win_Schedule_UI_PaletteType_" data-uid="C1.Win.Schedule.UI.PaletteOffice2016.#ctor(C1.Win.Schedule.UI.PaletteType)">PaletteOffice2016(PaletteType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.UI.PaletteOffice2016.html">PaletteOffice2016</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaletteOffice2016(PaletteType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(type As PaletteType)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.Schedule.UI.PaletteType.html">PaletteType</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_Schedule_UI_PaletteOffice2016__ctor_" data-uid="C1.Win.Schedule.UI.PaletteOffice2016.#ctor*"></a>
<h4 id="C1_Win_Schedule_UI_PaletteOffice2016__ctor_C1_Win_Schedule_UI_PaletteType_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="C1.Win.Schedule.UI.PaletteOffice2016.#ctor(C1.Win.Schedule.UI.PaletteType,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">PaletteOffice2016(PaletteType, Color, Color, Color, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.UI.PaletteOffice2016.html">PaletteOffice2016</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaletteOffice2016(PaletteType type, Color accentColor, Color headerColor, Color todayColor, Color selection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(type As PaletteType, accentColor As Color, headerColor As Color, todayColor As Color, selection As Color)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.Schedule.UI.PaletteType.html">PaletteType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The <a class="xref" href="C1.Win.Schedule.UI.PaletteType.html">PaletteType</a> value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">accentColor</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value which is used
for displaying navigation panels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">headerColor</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value which is used
for displaying day and group headers.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">todayColor</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value which is used
for highlighting current day.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">selection</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value which is used
for highlighting selected day or slots.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
