# C1.Win.Bitmap.C1Bitmap.Palette

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Bitmap_C1Bitmap_Palette" data-uid="C1.Win.Bitmap.C1Bitmap.Palette" class="text-break">C1Bitmap.Palette Class
</h1>
  <div class="markdown level0 summary"><p>Represents the bitmap palette for indexed pixel formats.</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">C1Bitmap.Palette</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Bitmap.html">C1.Win.Bitmap</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Bitmap.4.8.dll</h6>
  <h5 id="C1_Win_Bitmap_C1Bitmap_Palette_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Bitmap.Palette</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Bitmap.Palette</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_Bitmap_C1Bitmap_Palette__ctor" data-uid="C1.Win.Bitmap.C1Bitmap.Palette.#ctor">
          <a class="xref" href="C1.Win.Bitmap.C1Bitmap.Palette.-ctor.html#C1_Win_Bitmap_C1Bitmap_Palette__ctor">Palette()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Bitmap.C1Bitmap.html">C1Bitmap</a> class.</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_Win_Bitmap_C1Bitmap_Palette_Colors" data-uid="C1.Win.Bitmap.C1Bitmap.Palette.Colors">
          <a class="xref" href="C1.Win.Bitmap.C1Bitmap.Palette.Colors.html#C1_Win_Bitmap_C1Bitmap_Palette_Colors">Colors</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of palette colors (allows modifications).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_C1Bitmap_Palette_HasAlpha" data-uid="C1.Win.Bitmap.C1Bitmap.Palette.HasAlpha">
          <a class="xref" href="C1.Win.Bitmap.C1Bitmap.Palette.HasAlpha.html#C1_Win_Bitmap_C1Bitmap_Palette_HasAlpha">HasAlpha</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that describes whether the palette contains an alpha transparent color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_C1Bitmap_Palette_PaletteType" data-uid="C1.Win.Bitmap.C1Bitmap.Palette.PaletteType">
          <a class="xref" href="C1.Win.Bitmap.C1Bitmap.Palette.PaletteType.html#C1_Win_Bitmap_C1Bitmap_Palette_PaletteType">PaletteType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the palette type of the associated bitmap.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
