# FarPoint.Win.Spread.TableElementStyle.Compose

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_TableElementStyle_Compose_" data-uid="FarPoint.Win.Spread.TableElementStyle.Compose*">Compose Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_TableElementStyle_Compose_" data-uid="FarPoint.Win.Spread.TableElementStyle.Compose*"></a>
<h4 id="FarPoint_Win_Spread_TableElementStyle_Compose_FarPoint_Win_Spread_TableElementStyle_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.TableElementStyle.Compose(FarPoint.Win.Spread.TableElementStyle,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">Compose(TableElementStyle, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Compose a style into this style</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool Compose(TableElementStyle elementStyle, bool isTop, bool isBottom, bool isLeft, bool isRight)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Compose(elementStyle As TableElementStyle, isTop As Boolean, isBottom As Boolean, isLeft As Boolean, isRight As Boolean) 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="FarPoint.Win.Spread.TableElementStyle.html">TableElementStyle</a></td>
      <td><span class="parametername">elementStyle</span></td>
      <td><p>A <a class="xref" href="FarPoint.Win.Spread.TableElementStyle.html">TableElementStyle</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isTop</span></td>
      <td><p>Specifies the top location for inner border merging</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isBottom</span></td>
      <td><p>Specifies the bottom location for inner border merging</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isLeft</span></td>
      <td><p>Specifies the left location for inner border merging</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isRight</span></td>
      <td><p>Specifies the right location for inner border merging</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if style is merged, false if there is no style able to merge in (mean full style set for parent).</p>
</td>
    </tr>
  </tbody>
</table>
</div>
