# C1.Util.DX.Direct2D.PixelFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Direct2D_PixelFormat" data-uid="C1.Util.DX.Direct2D.PixelFormat" class="text-break">PixelFormat Struct
</h1>
  <div class="markdown level0 summary"><p>D2D1_PIXEL_FORMAT</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.Direct2D.html">C1.Util.DX.Direct2D</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_Direct2D_PixelFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct PixelFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure PixelFormat</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_Util_DX_Direct2D_PixelFormat__ctor_C1_Util_DX_DXGI_Format_C1_Util_DX_Direct2D_AlphaMode_" data-uid="C1.Util.DX.Direct2D.PixelFormat.#ctor(C1.Util.DX.DXGI.Format,C1.Util.DX.Direct2D.AlphaMode)">
          <a class="xref" href="C1.Util.DX.Direct2D.PixelFormat.-ctor.html#C1_Util_DX_Direct2D_PixelFormat__ctor_C1_Util_DX_DXGI_Format_C1_Util_DX_Direct2D_AlphaMode_">PixelFormat(Format, AlphaMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Direct2D.PixelFormat.html">PixelFormat</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Direct2D_PixelFormat_AlphaMode" data-uid="C1.Util.DX.Direct2D.PixelFormat.AlphaMode">
          <a class="xref" href="C1.Util.DX.Direct2D.PixelFormat.AlphaMode.html">AlphaMode</a>
        </td>
        <td class="markdown level1 summary"><p>D2D1_ALPHA_MODE alphaMode</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Direct2D_PixelFormat_Format" data-uid="C1.Util.DX.Direct2D.PixelFormat.Format">
          <a class="xref" href="C1.Util.DX.Direct2D.PixelFormat.Format.html">Format</a>
        </td>
        <td class="markdown level1 summary"><p>DXGI_FORMAT format</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
