# C1.WPF.Diagram.Edge

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Diagram_Edge" data-uid="C1.WPF.Diagram.Edge" class="text-break">Edge Class
</h1>
  <div class="markdown level0 summary"><p>Represents FlexDiagram node.</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.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><span class="xref">Edge</span></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><span class="xref">IEdge</span></div>
    <div><span class="xref">IDiagramElement</span></div>
    <div><span class="xref">IStyleProvider</span></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Diagram.html">C1.WPF.Diagram</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Diagram.dll</h6>
  <h5 id="C1_WPF_Diagram_Edge_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Edge : FrameworkElement, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IEdge, IDiagramElement, IStyleProvider, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Edge
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IEdge, IDiagramElement, IStyleProvider, INotifyPropertyChanged</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_Diagram_Edge__ctor" data-uid="C1.WPF.Diagram.Edge.#ctor">
          <a class="xref" href="C1.WPF.Diagram.Edge.-ctor.html#C1_WPF_Diagram_Edge__ctor">Edge()</a>
        </td>
        <td class="markdown level1 summary"></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_Diagram_Edge_EdgeStyleProperty" data-uid="C1.WPF.Diagram.Edge.EdgeStyleProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.EdgeStyleProperty.html">EdgeStyleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the EdgeStyle dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SourceArrowProperty" data-uid="C1.WPF.Diagram.Edge.SourceArrowProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.SourceArrowProperty.html">SourceArrowProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SourceArrow dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SourceIDProperty" data-uid="C1.WPF.Diagram.Edge.SourceIDProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.SourceIDProperty.html">SourceIDProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the SourceID dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SourceProperty" data-uid="C1.WPF.Diagram.Edge.SourceProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.SourceProperty.html">SourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Source dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TargetArrowProperty" data-uid="C1.WPF.Diagram.Edge.TargetArrowProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.TargetArrowProperty.html">TargetArrowProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the TargetArrow dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TargetIDProperty" data-uid="C1.WPF.Diagram.Edge.TargetIDProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.TargetIDProperty.html">TargetIDProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the TargetID dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TargetProperty" data-uid="C1.WPF.Diagram.Edge.TargetProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.TargetProperty.html">TargetProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Target dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TextProperty" data-uid="C1.WPF.Diagram.Edge.TextProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.TextProperty.html">TextProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Text dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TooltipProperty" data-uid="C1.WPF.Diagram.Edge.TooltipProperty">
          <a class="xref" href="C1.WPF.Diagram.Edge.TooltipProperty.html">TooltipProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Tooltip 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_WPF_Diagram_Edge_EdgeStyle" data-uid="C1.WPF.Diagram.Edge.EdgeStyle">
          <a class="xref" href="C1.WPF.Diagram.Edge.EdgeStyle.html#C1_WPF_Diagram_Edge_EdgeStyle">EdgeStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the edge style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_Source" data-uid="C1.WPF.Diagram.Edge.Source">
          <a class="xref" href="C1.WPF.Diagram.Edge.Source.html#C1_WPF_Diagram_Edge_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the source node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SourceArrow" data-uid="C1.WPF.Diagram.Edge.SourceArrow">
          <a class="xref" href="C1.WPF.Diagram.Edge.SourceArrow.html#C1_WPF_Diagram_Edge_SourceArrow">SourceArrow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the source arrow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SourceID" data-uid="C1.WPF.Diagram.Edge.SourceID">
          <a class="xref" href="C1.WPF.Diagram.Edge.SourceID.html#C1_WPF_Diagram_Edge_SourceID">SourceID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the source node ID.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_Target" data-uid="C1.WPF.Diagram.Edge.Target">
          <a class="xref" href="C1.WPF.Diagram.Edge.Target.html#C1_WPF_Diagram_Edge_Target">Target</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the target node.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TargetArrow" data-uid="C1.WPF.Diagram.Edge.TargetArrow">
          <a class="xref" href="C1.WPF.Diagram.Edge.TargetArrow.html#C1_WPF_Diagram_Edge_TargetArrow">TargetArrow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the source arrow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_TargetID" data-uid="C1.WPF.Diagram.Edge.TargetID">
          <a class="xref" href="C1.WPF.Diagram.Edge.TargetID.html#C1_WPF_Diagram_Edge_TargetID">TargetID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the target node ID.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_Text" data-uid="C1.WPF.Diagram.Edge.Text">
          <a class="xref" href="C1.WPF.Diagram.Edge.Text.html#C1_WPF_Diagram_Edge_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the edge text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_Tooltip" data-uid="C1.WPF.Diagram.Edge.Tooltip">
          <a class="xref" href="C1.WPF.Diagram.Edge.Tooltip.html#C1_WPF_Diagram_Edge_Tooltip">Tooltip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the edge tooltip.</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_Diagram_Edge_GetStyle_System_String_" data-uid="C1.WPF.Diagram.Edge.GetStyle(System.String)">
          <a class="xref" href="C1.WPF.Diagram.Edge.GetStyle.html#C1_WPF_Diagram_Edge_GetStyle_System_String_">GetStyle(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the platform-independent element style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_" data-uid="C1.WPF.Diagram.Edge.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)">
          <a class="xref" href="C1.WPF.Diagram.Edge.OnPropertyChanged.html#C1_WPF_Diagram_Edge_OnPropertyChanged_System_Windows_DependencyPropertyChangedEventArgs_">OnPropertyChanged(DependencyPropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Diagram_Edge_SetStyle_C1_Chart__Style_System_String_" data-uid="C1.WPF.Diagram.Edge.SetStyle(C1.Chart._Style,System.String)">
          <a class="xref" href="C1.WPF.Diagram.Edge.SetStyle.html#C1_WPF_Diagram_Edge_SetStyle_C1_Chart__Style_System_String_">SetStyle(_Style, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the element style based on provided platform-independent style.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Diagram_Edge_PropertyChanged" data-uid="C1.WPF.Diagram.Edge.PropertyChanged">
          <a class="xref" href="C1.WPF.Diagram.Edge.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when element property has been changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
