# C1.Framework.PathIconElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_PathIconElement" data-uid="C1.Framework.PathIconElement" class="text-break">PathIconElement Class
</h1>
  <div class="markdown level0 summary"><p>Represent an icon created from a path string.</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.Framework.Element.html">Element</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.IconElement.html">IconElement</a></div>
    <div class="level3"><a class="xref" href="C1.Framework.VectorIconElement.html">VectorIconElement</a></div>
    <div class="level4"><span class="xref">PathIconElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_PathIconElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PathIconElement : VectorIconElement, ISupportUia</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PathIconElement
    Inherits VectorIconElement
    Implements ISupportUia</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_Framework_PathIconElement__ctor" data-uid="C1.Framework.PathIconElement.#ctor">
          <a class="xref" href="C1.Framework.PathIconElement.-ctor.html#C1_Framework_PathIconElement__ctor">PathIconElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.PathIconElement.html">PathIconElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_PathIconElement__ctor_C1_Framework_C1PathIcon_" data-uid="C1.Framework.PathIconElement.#ctor(C1.Framework.C1PathIcon)">
          <a class="xref" href="C1.Framework.PathIconElement.-ctor.html#C1_Framework_PathIconElement__ctor_C1_Framework_C1PathIcon_">PathIconElement(C1PathIcon)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.PathIconElement.html">PathIconElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_PathIconElement__ctor_C1_Framework_C1PathIcon_C1_Framework_Style_" data-uid="C1.Framework.PathIconElement.#ctor(C1.Framework.C1PathIcon,C1.Framework.Style)">
          <a class="xref" href="C1.Framework.PathIconElement.-ctor.html#C1_Framework_PathIconElement__ctor_C1_Framework_C1PathIcon_C1_Framework_Style_">PathIconElement(C1PathIcon, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.PathIconElement.html">PathIconElement</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_PathIconElement__ctor_System_String_" data-uid="C1.Framework.PathIconElement.#ctor(System.String)">
          <a class="xref" href="C1.Framework.PathIconElement.-ctor.html#C1_Framework_PathIconElement__ctor_System_String_">PathIconElement(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.PathIconElement.html">PathIconElement</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_Framework_PathIconElement_Data" data-uid="C1.Framework.PathIconElement.Data">
          <a class="xref" href="C1.Framework.PathIconElement.Data.html#C1_Framework_PathIconElement_Data">Data</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the svg string describing the shape.</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_Framework_PathIconElement_CreatePath" data-uid="C1.Framework.PathIconElement.CreatePath">
          <a class="xref" href="C1.Framework.PathIconElement.CreatePath.html#C1_Framework_PathIconElement_CreatePath">CreatePath()</a>
        </td>
        <td class="markdown level1 summary"><p>When overridden in a derived class, creates the graphics path for the icon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_PathIconElement_OnIconChanged_C1_Framework_C1Icon_System_ComponentModel_PropertyChangedEventArgs_" data-uid="C1.Framework.PathIconElement.OnIconChanged(C1.Framework.C1Icon,System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="C1.Framework.PathIconElement.OnIconChanged.html#C1_Framework_PathIconElement_OnIconChanged_C1_Framework_C1Icon_System_ComponentModel_PropertyChangedEventArgs_">OnIconChanged(C1Icon, PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates element properties on icon property changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
