# C1.Win.Schedule.UI.Palette.CreateOffice2010Palette

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Schedule_UI_Palette_CreateOffice2010Palette_" data-uid="C1.Win.Schedule.UI.Palette.CreateOffice2010Palette*">CreateOffice2010Palette Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Schedule_UI_Palette_CreateOffice2010Palette_" data-uid="C1.Win.Schedule.UI.Palette.CreateOffice2010Palette*"></a>
<h4 id="C1_Win_Schedule_UI_Palette_CreateOffice2010Palette_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_System_Drawing_Color_" data-uid="C1.Win.Schedule.UI.Palette.CreateOffice2010Palette(System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color,System.Drawing.Color)">CreateOffice2010Palette(Color, Color, Color, Color, Color, Color)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.Win.Schedule.UI.Palette.html">Palette</a> object of
<a class="xref" href="C1.Win.Schedule.UI.PaletteType.html#C1_Win_Schedule_UI_PaletteType_Office2010">Office2010</a> type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Palette CreateOffice2010Palette(Color freeHour, Color freeHourBorder, Color freeHourLightBorder, Color dayHeaderBorder, Color dayHeaderBack, Color selectedSlot)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function CreateOffice2010Palette(freeHour As Color, freeHourBorder As Color, freeHourLightBorder As Color, dayHeaderBorder As Color, dayHeaderBack As Color, selectedSlot As Color) As Palette</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="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">freeHour</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 background of free hours and selected days
and the working hour horizontal light borders.</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">freeHourBorder</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 the free and working hour horizontal borders,
alternate month days background and all-day area background.</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">freeHourLightBorder</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 the free hour horizontal light borders.</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">dayHeaderBorder</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 header borders.</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">dayHeaderBack</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 the day header.</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">selectedSlot</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 selected time slot.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.Schedule.UI.Palette.html">Palette</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
