# C1.Maui.Core.C1SvgIcon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Core_C1SvgIcon" data-uid="C1.Maui.Core.C1SvgIcon" class="text-break">C1SvgIcon Class
</h1>
  <div class="markdown level0 summary"><p>Represents an icon created from an svg file.</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.Maui.Core.C1View.html">C1View</a></div>
    <div class="level2"><a class="xref" href="C1.Maui.Core.C1Icon.html">C1Icon</a></div>
    <div class="level3"><span class="xref">C1SvgIcon</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</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.Maui.Core.html">C1.Maui.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Core.dll</h6>
  <h5 id="C1_Maui_Core_C1SvgIcon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1SvgIcon : C1Icon, IDisposable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1SvgIcon
    Inherits C1Icon
    Implements IDisposable, 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_Maui_Core_C1SvgIcon__ctor" data-uid="C1.Maui.Core.C1SvgIcon.#ctor">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.-ctor.html#C1_Maui_Core_C1SvgIcon__ctor">C1SvgIcon()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.Core.C1SvgIcon.html">C1SvgIcon</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_Maui_Core_C1SvgIcon_SourceProperty" data-uid="C1.Maui.Core.C1SvgIcon.SourceProperty">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.SourceProperty.html">SourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1SvgIcon.Source.html#C1_Maui_Core_C1SvgIcon_Source">Source</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_Maui_Core_C1SvgIcon_Source" data-uid="C1.Maui.Core.C1SvgIcon.Source">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.Source.html#C1_Maui_Core_C1SvgIcon_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1SvgIcon_ViewBox" data-uid="C1.Maui.Core.C1SvgIcon.ViewBox">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.ViewBox.html#C1_Maui_Core_C1SvgIcon_ViewBox">ViewBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the viewBox of the svg file.</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_Maui_Core_C1SvgIcon_Clone" data-uid="C1.Maui.Core.C1SvgIcon.Clone">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.Clone.html#C1_Maui_Core_C1SvgIcon_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1SvgIcon_CloneOverride" data-uid="C1.Maui.Core.C1SvgIcon.CloneOverride">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.CloneOverride.html#C1_Maui_Core_C1SvgIcon_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_Maui_Core_C1SvgIcon_Dispose_System_Boolean_" data-uid="C1.Maui.Core.C1SvgIcon.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Core.C1SvgIcon.Dispose.html#C1_Maui_Core_C1SvgIcon_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
