# FarPoint.Win.Spread.StyleInfo.Merge

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_StyleInfo_Merge_" data-uid="FarPoint.Win.Spread.StyleInfo.Merge*">Merge Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_StyleInfo_Merge_" data-uid="FarPoint.Win.Spread.StyleInfo.Merge*"></a>
<h4 id="FarPoint_Win_Spread_StyleInfo_Merge_FarPoint_Win_Spread_StyleInfo_" data-uid="FarPoint.Win.Spread.StyleInfo.Merge(FarPoint.Win.Spread.StyleInfo)">Merge(StyleInfo)</h4>
<div class="markdown level1 summary"><p>Merges the style settings with the current object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Merge(StyleInfo source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Merge(source As StyleInfo)</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.StyleInfo.html">StyleInfo</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>Object whose style settings are merged with the current object</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_StyleInfo_Merge_" data-uid="FarPoint.Win.Spread.StyleInfo.Merge*"></a>
<h4 id="FarPoint_Win_Spread_StyleInfo_Merge_FarPoint_Win_Spread_StyleInfo_System_Boolean_" data-uid="FarPoint.Win.Spread.StyleInfo.Merge(FarPoint.Win.Spread.StyleInfo,System.Boolean)">Merge(StyleInfo, bool)</h4>
<div class="markdown level1 summary"><p>Merges the style settings with the current object with the option to
overwrite settings in the current object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Merge(StyleInfo source, bool force)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Merge(source As StyleInfo, force 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.StyleInfo.html">StyleInfo</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>Object whose style settings are merged with the current 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">force</span></td>
      <td><p>Whether to overwrite the current settings with the settings from the merge object</p>
</td>
    </tr>
  </tbody>
</table>
</div>
