# C1.Framework.BorderEdges

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_BorderEdges" data-uid="C1.Framework.BorderEdges" class="text-break">BorderEdges Class
</h1>
  <div class="markdown level0 summary"><p>Class that stores colors for individual border edges.</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">BorderEdges</span></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_BorderEdges_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BorderEdgesConverter))]
public class BorderEdges</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(BorderEdgesConverter))&gt;
Public Class BorderEdges</code></pre>
  </div>
  <h5 id="C1_Framework_BorderEdges_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>In most cases, borders have a single color and this class is not used at all.</p>
<p>If the members of this class are set to non-transparent colors, then the specified
colors are used to paint over specific edges.</p>
<p>This class paints the borders with a bevel so they line up at the corners, but
it does not handle corners at all, so only rectangular elements can have multi-colored
borders.</p>
</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_BorderEdges__ctor" data-uid="C1.Framework.BorderEdges.#ctor">
          <a class="xref" href="C1.Framework.BorderEdges.-ctor.html#C1_Framework_BorderEdges__ctor">BorderEdges()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.BorderEdges.html">BorderEdges</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges__ctor_C1_Framework_Style_" data-uid="C1.Framework.BorderEdges.#ctor(C1.Framework.Style)">
          <a class="xref" href="C1.Framework.BorderEdges.-ctor.html#C1_Framework_BorderEdges__ctor_C1_Framework_Style_">BorderEdges(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Framework.BorderEdges.html">BorderEdges</a>.</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_BorderEdges_Bottom" data-uid="C1.Framework.BorderEdges.Bottom">
          <a class="xref" href="C1.Framework.BorderEdges.Bottom.html#C1_Framework_BorderEdges_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the bottom edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_IsEmpty" data-uid="C1.Framework.BorderEdges.IsEmpty">
          <a class="xref" href="C1.Framework.BorderEdges.IsEmpty.html#C1_Framework_BorderEdges_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines if colors have been specified for any of the edges.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_Left" data-uid="C1.Framework.BorderEdges.Left">
          <a class="xref" href="C1.Framework.BorderEdges.Left.html#C1_Framework_BorderEdges_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the left edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_Right" data-uid="C1.Framework.BorderEdges.Right">
          <a class="xref" href="C1.Framework.BorderEdges.Right.html#C1_Framework_BorderEdges_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the right edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_Top" data-uid="C1.Framework.BorderEdges.Top">
          <a class="xref" href="C1.Framework.BorderEdges.Top.html#C1_Framework_BorderEdges_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to paint the top edge of the border.</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_BorderEdges_Clone" data-uid="C1.Framework.BorderEdges.Clone">
          <a class="xref" href="C1.Framework.BorderEdges.Clone.html#C1_Framework_BorderEdges_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a clone of this <a class="xref" href="C1.Framework.BorderEdges.html">BorderEdges</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_Equals_System_Object_" data-uid="C1.Framework.BorderEdges.Equals(System.Object)">
          <a class="xref" href="C1.Framework.BorderEdges.Equals.html#C1_Framework_BorderEdges_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if the colors are the same for all edges.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_Finalize" data-uid="C1.Framework.BorderEdges.Finalize">
          <a class="xref" href="C1.Framework.BorderEdges.Finalize.html#C1_Framework_BorderEdges_Finalize">~BorderEdges()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_BorderEdges_GetHashCode" data-uid="C1.Framework.BorderEdges.GetHashCode">
          <a class="xref" href="C1.Framework.BorderEdges.GetHashCode.html#C1_Framework_BorderEdges_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a <a class="xref" href="C1.Framework.BorderEdges.html">BorderEdges</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
