# C1.iOS.Core.C1Icon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_iOS_Core_C1Icon" data-uid="C1.iOS.Core.C1Icon" class="text-break">C1Icon Class
</h1>
  <div class="markdown level0 summary"><p>Represents a visual icon that can be tinted and resized.</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.iOS.Core.C1View.html">C1View</a></div>
    <div class="level2"><span class="xref">C1Icon</span></div>
      <div class="level3"><a class="xref" href="C1.iOS.Core.C1BitmapIcon.html">C1BitmapIcon</a></div>
      <div class="level3"><a class="xref" href="C1.iOS.Core.C1CompositeIcon.html">C1CompositeIcon</a></div>
      <div class="level3"><a class="xref" href="C1.iOS.Core.C1FontIcon.html">C1FontIcon</a></div>
      <div class="level3"><a class="xref" href="C1.iOS.Core.C1SvgIcon_1.html">C1SvgIcon</a></div>
      <div class="level3"><a class="xref" href="C1.iOS.Core.C1VectorIcon.html">C1VectorIcon</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.iOS.Core.IDependencyObject.html">IDependencyObject</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.iOS.Core.html">C1.iOS.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.iOS.Core.dll</h6>
  <h5 id="C1_iOS_Core_C1Icon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1Icon : C1View, IDependencyObject, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1Icon
    Inherits C1View
    Implements IDependencyObject, ICloneable</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_iOS_Core_C1Icon__ctor" data-uid="C1.iOS.Core.C1Icon.#ctor">
          <a class="xref" href="C1.iOS.Core.C1Icon.-ctor.html#C1_iOS_Core_C1Icon__ctor">C1Icon()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Icon.html">C1Icon</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon__ctor_CoreGraphics_CGRect_" data-uid="C1.iOS.Core.C1Icon.#ctor(CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Core.C1Icon.-ctor.html#C1_iOS_Core_C1Icon__ctor_CoreGraphics_CGRect_">C1Icon(CGRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Icon.html">C1Icon</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon__ctor_System_IntPtr_" data-uid="C1.iOS.Core.C1Icon.#ctor(System.IntPtr)">
          <a class="xref" href="C1.iOS.Core.C1Icon.-ctor.html#C1_iOS_Core_C1Icon__ctor_System_IntPtr_">C1Icon(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Icon.html">C1Icon</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_iOS_Core_C1Icon_DEFAULT_HEIGHT" data-uid="C1.iOS.Core.C1Icon.DEFAULT_HEIGHT">
          <a class="xref" href="C1.iOS.Core.C1Icon.DEFAULT_HEIGHT.html">DEFAULT_HEIGHT</a>
        </td>
        <td class="markdown level1 summary"><p>The default height of an icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_DEFAULT_WIDTH" data-uid="C1.iOS.Core.C1Icon.DEFAULT_WIDTH">
          <a class="xref" href="C1.iOS.Core.C1Icon.DEFAULT_WIDTH.html">DEFAULT_WIDTH</a>
        </td>
        <td class="markdown level1 summary"><p>The default width of an icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_RenderHeightProperty" data-uid="C1.iOS.Core.C1Icon.RenderHeightProperty">
          <a class="xref" href="C1.iOS.Core.C1Icon.RenderHeightProperty.html">RenderHeightProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Icon.RenderHeight.html#C1_iOS_Core_C1Icon_RenderHeight">RenderHeight</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_RenderWidthProperty" data-uid="C1.iOS.Core.C1Icon.RenderWidthProperty">
          <a class="xref" href="C1.iOS.Core.C1Icon.RenderWidthProperty.html">RenderWidthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1Icon.RenderWidth.html#C1_iOS_Core_C1Icon_RenderWidth">RenderWidth</a> dependency property.</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_iOS_Core_C1Icon_IntrinsicContentSize" data-uid="C1.iOS.Core.C1Icon.IntrinsicContentSize">
          <a class="xref" href="C1.iOS.Core.C1Icon.IntrinsicContentSize.html#C1_iOS_Core_C1Icon_IntrinsicContentSize">IntrinsicContentSize</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_RenderHeight" data-uid="C1.iOS.Core.C1Icon.RenderHeight">
          <a class="xref" href="C1.iOS.Core.C1Icon.RenderHeight.html#C1_iOS_Core_C1Icon_RenderHeight">RenderHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the icon. If Nan, the arrange height will be used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_RenderWidth" data-uid="C1.iOS.Core.C1Icon.RenderWidth">
          <a class="xref" href="C1.iOS.Core.C1Icon.RenderWidth.html#C1_iOS_Core_C1Icon_RenderWidth">RenderWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the icon. If Nan, the arrange width will be used.</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_iOS_Core_C1Icon_Clone" data-uid="C1.iOS.Core.C1Icon.Clone">
          <a class="xref" href="C1.iOS.Core.C1Icon.Clone.html#C1_iOS_Core_C1Icon_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_CloneOverride" data-uid="C1.iOS.Core.C1Icon.CloneOverride">
          <a class="xref" href="C1.iOS.Core.C1Icon.CloneOverride.html#C1_iOS_Core_C1Icon_CloneOverride">CloneOverride()</a>
        </td>
        <td class="markdown level1 summary"><p>When overridden, it creates a copy of the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_Dispose_System_Boolean_" data-uid="C1.iOS.Core.C1Icon.Dispose(System.Boolean)">
          <a class="xref" href="C1.iOS.Core.C1Icon.Dispose.html#C1_iOS_Core_C1Icon_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_GetIntrinsicIconSize" data-uid="C1.iOS.Core.C1Icon.GetIntrinsicIconSize">
          <a class="xref" href="C1.iOS.Core.C1Icon.GetIntrinsicIconSize.html#C1_iOS_Core_C1Icon_GetIntrinsicIconSize">GetIntrinsicIconSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the intrinsic size of the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_MovedToWindow" data-uid="C1.iOS.Core.C1Icon.MovedToWindow">
          <a class="xref" href="C1.iOS.Core.C1Icon.MovedToWindow.html#C1_iOS_Core_C1Icon_MovedToWindow">MovedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_OnBackgroundChanged_CoreAnimation_CALayer_CoreAnimation_CALayer_" data-uid="C1.iOS.Core.C1Icon.OnBackgroundChanged(CoreAnimation.CALayer,CoreAnimation.CALayer)">
          <a class="xref" href="C1.iOS.Core.C1Icon.OnBackgroundChanged.html#C1_iOS_Core_C1Icon_OnBackgroundChanged_CoreAnimation_CALayer_CoreAnimation_CALayer_">OnBackgroundChanged(CALayer, CALayer)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the <a class="xref" href="C1.iOS.Core.C1View.BackgroundProperty.html">BackgroundProperty</a> is updated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_OnRenderHeightChanged_System_Double_System_Double_" data-uid="C1.iOS.Core.C1Icon.OnRenderHeightChanged(System.Double,System.Double)">
          <a class="xref" href="C1.iOS.Core.C1Icon.OnRenderHeightChanged.html#C1_iOS_Core_C1Icon_OnRenderHeightChanged_System_Double_System_Double_">OnRenderHeightChanged(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when <a class="xref" href="C1.iOS.Core.C1Icon.RenderHeightProperty.html">RenderHeightProperty</a> changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_OnRenderWidthChanged_System_Double_System_Double_" data-uid="C1.iOS.Core.C1Icon.OnRenderWidthChanged(System.Double,System.Double)">
          <a class="xref" href="C1.iOS.Core.C1Icon.OnRenderWidthChanged.html#C1_iOS_Core_C1Icon_OnRenderWidthChanged_System_Double_System_Double_">OnRenderWidthChanged(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when <a class="xref" href="C1.iOS.Core.C1Icon.RenderWidthProperty.html">RenderWidthProperty</a> changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1Icon_SizeThatFits_CoreGraphics_CGSize_" data-uid="C1.iOS.Core.C1Icon.SizeThatFits(CoreGraphics.CGSize)">
          <a class="xref" href="C1.iOS.Core.C1Icon.SizeThatFits.html#C1_iOS_Core_C1Icon_SizeThatFits_CoreGraphics_CGSize_">SizeThatFits(CGSize)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
