# C1.Xamarin.Forms.Core.C1BitmapIcon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Xamarin_Forms_Core_C1BitmapIcon" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon" class="text-break">C1BitmapIcon Class
</h1>
  <div class="markdown level0 summary"><p>Represents an icon created from an image.</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.Xamarin.Forms.Core.C1Icon.html">C1Icon</a></div>
    <div class="level2"><span class="xref">C1BitmapIcon</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Core.html">C1.Xamarin.Forms.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Core.dll</h6>
  <h5 id="C1_Xamarin_Forms_Core_C1BitmapIcon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1BitmapIcon : C1Icon</code></pre>
  </div>
  <h5 id="C1_Xamarin_Forms_Core_C1BitmapIcon_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The file that you use should be a solid image on a transparent background.
The bitmap image is expected to be a true bitmap that has transparent pixels and non-transparent pixels.
The recommended format is PNG. Other file-format image sources will load but result in a solid block of the foreground color.</p>
</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_Xamarin_Forms_Core_C1BitmapIcon__ctor" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.#ctor">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.-ctor.html#C1_Xamarin_Forms_Core_C1BitmapIcon__ctor">C1BitmapIcon()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.html">C1BitmapIcon</a> class.</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_Xamarin_Forms_Core_C1BitmapIcon_ShowAsMonochromeProperty" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.ShowAsMonochromeProperty">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.ShowAsMonochromeProperty.html">ShowAsMonochromeProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Core_C1BitmapIcon_SourceProperty" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.SourceProperty">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.SourceProperty.html">SourceProperty</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_Xamarin_Forms_Core_C1BitmapIcon_ShowAsMonochrome" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.ShowAsMonochrome">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.ShowAsMonochrome.html#C1_Xamarin_Forms_Core_C1BitmapIcon_ShowAsMonochrome">ShowAsMonochrome</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the bitmap is shown in a single color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Core_C1BitmapIcon_Source" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.Source">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.Source.html#C1_Xamarin_Forms_Core_C1BitmapIcon_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image source.</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_Xamarin_Forms_Core_C1BitmapIcon_InitializeUI" data-uid="C1.Xamarin.Forms.Core.C1BitmapIcon.InitializeUI">
          <a class="xref" href="C1.Xamarin.Forms.Core.C1BitmapIcon.InitializeUI.html#C1_Xamarin_Forms_Core_C1BitmapIcon_InitializeUI">InitializeUI()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the UI.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
