# GrapeCity.Spreadsheet.Drawing.ConnectionShape

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_ConnectionShape" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape" class="text-break">ConnectionShape Class
</h1>
  <div class="markdown level0 summary"><p>Represents a shape connector.</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"><span class="xref">BindableObject</span></div>
    <div class="level2"><span class="xref">DrawingObject</span></div>
    <div class="level3"><span class="xref">Shape</span></div>
    <div class="level4"><span class="xref">ConnectionShape</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<span class="xref">DrawingObject</span>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<span class="xref">DrawingObject</span>&gt;</div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IThreeDFormat.html">IThreeDFormat</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeAdjustHandles.html">IShapeAdjustHandles</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IDrawingObject.html">IDrawingObject</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IGroupShapes.html">IGroupShapes</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.IReadonlyArray-1.html">IReadonlyArray</a>&lt;<a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.html">ConnectionShape</a>&gt;</div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeConnectionSites.html">IShapeConnectionSites</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.html">IControlFormat</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeAppearance.html">IShapeAppearance</a></div>
    <div><a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeBase.html">IShapeBase</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Drawing.html">GrapeCity.Spreadsheet.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ConnectionShape : Shape, IEquatable&lt;DrawingObject&gt;, IComparable&lt;DrawingObject&gt;, IThreeDFormat, IShapeAdjustHandles, IShape, IDrawingObject, IGroupShapes, IReadonlyArray&lt;ConnectionShape&gt;, IShapeConnectionSites, IControlFormat, IShapeAppearance, IShapeBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class ConnectionShape
    Inherits Shape
    Implements IEquatable(Of DrawingObject), IComparable(Of DrawingObject), IThreeDFormat, IShapeAdjustHandles, IShape, IDrawingObject, IGroupShapes, IReadonlyArray(Of ConnectionShape), IShapeConnectionSites, IControlFormat, IShapeAppearance, IShapeBase</code></pre>
  </div>
  <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="GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnectedShape" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnectedShape">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnectedShape.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnectedShape">BeginConnectedShape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <span class="xref">GrapeCity.Spreadsheet.Drawing.Shape</span> object that represents the shape that the beginning of the specified connector is attached to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnectionSite" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnectionSite">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnectionSite.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnectionSite">BeginConnectionSite</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an integer that specifies the connection site that the beginning of a connector is connected to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_CanEditText" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.CanEditText">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.CanEditText.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_CanEditText">CanEditText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether the user can edit text of the shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_Connector" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.Connector">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.Connector.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_Connector">Connector</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> is a connector.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnectedShape" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnectedShape">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnectedShape.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnectedShape">EndConnectedShape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <span class="xref">GrapeCity.Spreadsheet.Drawing.Shape</span> object that represents the shape that the end of the specified connector is attached to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnectionSite" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnectionSite">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnectionSite.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnectionSite">EndConnectionSite</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an integer that specifies the connection site that the end of a connector is connected to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsElbow" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsElbow">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsElbow.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsElbow">IsElbow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.html">ConnectionShape</a> is an elbow.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_ShowRotation" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.ShowRotation">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.ShowRotation.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_ShowRotation">ShowRotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.html">ConnectionShape</a> is rotatable.</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="GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Point_GrapeCity_Drawing_Point_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout(GrapeCity.Drawing.Point,GrapeCity.Drawing.Point,System.Boolean,System.Boolean,GrapeCity.Spreadsheet.IWorksheet)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Point_GrapeCity_Drawing_Point_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_">AutoLayout(Point, Point, bool, bool, IWorksheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Layouts the connection shape to fit 2 specified points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Point_GrapeCity_Drawing_Point_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout(GrapeCity.Drawing.Rectangle,GrapeCity.Drawing.Rectangle,GrapeCity.Drawing.Point,GrapeCity.Drawing.Point,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.Spreadsheet.IWorksheet)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Point_GrapeCity_Drawing_Point_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_">AutoLayout(Rectangle, Rectangle, Point, Point, bool, bool, bool, bool, IWorksheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Layouts the connection shape automatically.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Rectangle_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout(GrapeCity.Drawing.Rectangle,GrapeCity.Drawing.Rectangle,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.Spreadsheet.IWorksheet)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_GrapeCity_Drawing_Rectangle_GrapeCity_Drawing_Rectangle_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_Spreadsheet_IWorksheet_">AutoLayout(Rectangle, Rectangle, bool, bool, bool, bool, IWorksheet)</a>
        </td>
        <td class="markdown level1 summary"><p>Layouts the connection shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_System_Boolean_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout(System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.AutoLayout.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_AutoLayout_System_Boolean_System_Boolean_">AutoLayout(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>The connection shape will layout automatically to fit with current connection sites.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnect(GrapeCity.Spreadsheet.Drawing.Shape,System.Int32,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_">BeginConnect(Shape, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the beginning of the specified connector to a specified shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnect(GrapeCity.Spreadsheet.Drawing.Shape,System.Int32,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginConnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_System_Boolean_">BeginConnect(Shape, int, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the beginning of the specified connector to a specified shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginDisconnect" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginDisconnect">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.BeginDisconnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_BeginDisconnect">BeginDisconnect()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the beginning of the specified connector from the shape it's attached to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnect(GrapeCity.Spreadsheet.Drawing.Shape,System.Int32,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_">EndConnect(Shape, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the end of the specified connector to a specified shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnect(GrapeCity.Spreadsheet.Drawing.Shape,System.Int32,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndConnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndConnect_GrapeCity_Spreadsheet_Drawing_Shape_System_Int32_System_Boolean_System_Boolean_">EndConnect(Shape, int, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the end of the specified connector to a specified shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndDisconnect" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndDisconnect">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.EndDisconnect.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_EndDisconnect">EndDisconnect()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the end of the specified connector from the shape it's attached to.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsBeginConnected" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsBeginConnected">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsBeginConnected.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsBeginConnected">IsBeginConnected()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether the beginning of the specified connector is connected to a shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsEndConnected" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsEndConnected">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsEndConnected.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsEndConnected">IsEndConnected()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicating whether the end of the specified connector is connected to a shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsSupportedFormula" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsSupportedFormula">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsSupportedFormula.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsSupportedFormula">IsSupportedFormula()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicates whether the shape support formula.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsSupportedText" data-uid="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsSupportedText">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ConnectionShape.IsSupportedText.html#GrapeCity_Spreadsheet_Drawing_ConnectionShape_IsSupportedText">IsSupportedText()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a boolean value indicates whether the shape support text.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
