# FarPoint.Win.DoubleLineBorder.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_DoubleLineBorder__ctor_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor*">DoubleLineBorder Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_DoubleLineBorder__ctor_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor*"></a>
<h4 id="FarPoint_Win_DoubleLineBorder__ctor_System_Drawing_Color_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor(System.Drawing.Color)">DoubleLineBorder(Color)</h4>
<div class="markdown level1 summary"><p>Creates a double-line border with the specified color and a width of 3.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleLineBorder(Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>Color of the double lines</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_DoubleLineBorder__ctor_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor*"></a>
<h4 id="FarPoint_Win_DoubleLineBorder__ctor_System_Drawing_Color_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor(System.Drawing.Color,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">DoubleLineBorder(Color, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a double-line border with the specified color, a width of 3, and
sides on which the border is drawn.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleLineBorder(Color color, bool left, bool top, bool right, bool bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>Color of the double lines</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>Whether to draw the left side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>Whether to draw the top</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>Whether to draw the right side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>Whether to draw the bottom</p>
</td>
    </tr>
  </tbody>
</table>
</div>
