# C1.WPF.C1VectorIcon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1VectorIcon" data-uid="C1.WPF.C1VectorIcon" class="text-break">C1VectorIcon Class
</h1>
  <div class="markdown level0 summary"><p>Represents an icon created from a vectorial definition.</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="https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="C1.WPF.C1Icon.html">C1Icon</a></div>
    <div class="level8"><span class="xref">C1VectorIcon</span></div>
      <div class="level9"><a class="xref" href="C1.WPF.C1PathIcon.html">C1PathIcon</a></div>
      <div class="level9"><a class="xref" href="C1.WPF.C1PolygonIcon.html">C1PolygonIcon</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1VectorIcon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1VectorIcon : C1Icon, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1VectorIcon
    Inherits C1Icon
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient</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_WPF_C1VectorIcon__ctor" data-uid="C1.WPF.C1VectorIcon.#ctor">
          <a class="xref" href="C1.WPF.C1VectorIcon.-ctor.html#C1_WPF_C1VectorIcon__ctor">C1VectorIcon()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1VectorIcon.html">C1VectorIcon</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_WPF_C1VectorIcon_StrokeBrushProperty" data-uid="C1.WPF.C1VectorIcon.StrokeBrushProperty">
          <a class="xref" href="C1.WPF.C1VectorIcon.StrokeBrushProperty.html">StrokeBrushProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_StrokeThicknessProperty" data-uid="C1.WPF.C1VectorIcon.StrokeThicknessProperty">
          <a class="xref" href="C1.WPF.C1VectorIcon.StrokeThicknessProperty.html">StrokeThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_ViewBoxProperty" data-uid="C1.WPF.C1VectorIcon.ViewBoxProperty">
          <a class="xref" href="C1.WPF.C1VectorIcon.ViewBoxProperty.html">ViewBoxProperty</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_WPF_C1VectorIcon_StrokeBrush" data-uid="C1.WPF.C1VectorIcon.StrokeBrush">
          <a class="xref" href="C1.WPF.C1VectorIcon.StrokeBrush.html#C1_WPF_C1VectorIcon_StrokeBrush">StrokeBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the stroke.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_StrokeThickness" data-uid="C1.WPF.C1VectorIcon.StrokeThickness">
          <a class="xref" href="C1.WPF.C1VectorIcon.StrokeThickness.html#C1_WPF_C1VectorIcon_StrokeThickness">StrokeThickness</a>
        </td>
        <td class="markdown level1 summary"><p>The stroke thickness</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_ViewBox" data-uid="C1.WPF.C1VectorIcon.ViewBox">
          <a class="xref" href="C1.WPF.C1VectorIcon.ViewBox.html#C1_WPF_C1VectorIcon_ViewBox">ViewBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rectangle (in the path coordinates) which will determine what part will be drawn.</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_WPF_C1VectorIcon_CreateGeometry" data-uid="C1.WPF.C1VectorIcon.CreateGeometry">
          <a class="xref" href="C1.WPF.C1VectorIcon.CreateGeometry.html#C1_WPF_C1VectorIcon_CreateGeometry">CreateGeometry()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is called to create the geometry of the shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_FinalizeUI" data-uid="C1.WPF.C1VectorIcon.FinalizeUI">
          <a class="xref" href="C1.WPF.C1VectorIcon.FinalizeUI.html#C1_WPF_C1VectorIcon_FinalizeUI">FinalizeUI()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes the user interface.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_InitializeUI" data-uid="C1.WPF.C1VectorIcon.InitializeUI">
          <a class="xref" href="C1.WPF.C1VectorIcon.InitializeUI.html#C1_WPF_C1VectorIcon_InitializeUI">InitializeUI()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the UI.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1VectorIcon_UpdateGeometry" data-uid="C1.WPF.C1VectorIcon.UpdateGeometry">
          <a class="xref" href="C1.WPF.C1VectorIcon.UpdateGeometry.html#C1_WPF_C1VectorIcon_UpdateGeometry">UpdateGeometry()</a>
        </td>
        <td class="markdown level1 summary"><p>This will recreate the goemetry and update the path.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.WPF.Extensions.FindParent.html#C1_WPF_Extensions_FindParent__1_System_Windows_FrameworkElement_">Extensions.FindParent&lt;T&gt;(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetAllParents.html#C1_WPF_Extensions_GetAllParents_System_Windows_FrameworkElement_">Extensions.GetAllParents(FrameworkElement)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.GetVisualStateGroup.html#C1_WPF_Extensions_GetVisualStateGroup_System_Windows_FrameworkElement_System_String_">Extensions.GetVisualStateGroup(FrameworkElement, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.SetBinding.html#C1_WPF_Extensions_SetBinding__1_System_Windows_FrameworkElement_System_Windows_DependencyProperty___0_System_Linq_Expressions_Expression_System_Func___0_System_Object___System_Windows_Data_IValueConverter_">Extensions.SetBinding&lt;T&gt;(FrameworkElement, DependencyProperty, T, Expression&lt;Func&lt;T, object&gt;&gt;, IValueConverter)</a>
  </div>
  <div>
      <a class="xref" href="C1.WPF.Extensions.C1TransformToVisual.html#C1_WPF_Extensions_C1TransformToVisual_System_Windows_UIElement_System_Windows_UIElement_">Extensions.C1TransformToVisual(UIElement, UIElement)</a>
  </div>

</div>
