# FarPoint.Win.CompoundBorder.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_CompoundBorder__ctor_" data-uid="FarPoint.Win.CompoundBorder.#ctor*">CompoundBorder Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_CompoundBorder__ctor_" data-uid="FarPoint.Win.CompoundBorder.#ctor*"></a>
<h4 id="FarPoint_Win_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_" data-uid="FarPoint.Win.CompoundBorder.#ctor(FarPoint.Win.IBorder,FarPoint.Win.IBorder)">CompoundBorder(IBorder, IBorder)</h4>
<div class="markdown level1 summary"><p>Creates a compound border with the specified inside and outside borders.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CompoundBorder(IBorder outside, IBorder inside)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(outside As IBorder, inside As IBorder)</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="FarPoint.Win.IBorder.html">IBorder</a></td>
      <td><span class="parametername">outside</span></td>
      <td><p>Outside border</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.IBorder.html">IBorder</a></td>
      <td><span class="parametername">inside</span></td>
      <td><p>Inside border</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_CompoundBorder__ctor_" data-uid="FarPoint.Win.CompoundBorder.#ctor*"></a>
<h4 id="FarPoint_Win_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_System_Int32_System_Drawing_Color_" data-uid="FarPoint.Win.CompoundBorder.#ctor(FarPoint.Win.IBorder,FarPoint.Win.IBorder,System.Int32,System.Drawing.Color)">CompoundBorder(IBorder, IBorder, int, Color)</h4>
<div class="markdown level1 summary"><p>Creates a compound border with the specified inside and outside borders
and the specified face color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CompoundBorder(IBorder outer, IBorder inner, int faceWidth, Color faceColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(outer As IBorder, inner As IBorder, faceWidth As Integer, faceColor 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="FarPoint.Win.IBorder.html">IBorder</a></td>
      <td><span class="parametername">outer</span></td>
      <td><p>Outside border</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.IBorder.html">IBorder</a></td>
      <td><span class="parametername">inner</span></td>
      <td><p>Inside border</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">faceWidth</span></td>
      <td><p>Face width of the border</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">faceColor</span></td>
      <td><p>Face color of the border</p>
</td>
    </tr>
  </tbody>
</table>
</div>
