# FarPoint.Web.Spread.StyleInfo.Merge

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_StyleInfo_Merge_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge*">Merge Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_StyleInfo_Merge_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge*"></a>
<h4 id="FarPoint_Web_Spread_StyleInfo_Merge_System_Object_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge(System.Object)">Merge(object)</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 bool Merge(object obj)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Merge(obj As Object) 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.object">object</a></td>
      <td><span class="parametername">obj</span></td>
      <td><p>Object whose style settings are merged with the current object</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></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_StyleInfo_Merge_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge*"></a>
<h4 id="FarPoint_Web_Spread_StyleInfo_Merge_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge(System.Object,System.Boolean)">Merge(object, bool)</h4>
<div class="markdown level1 summary"><p>Merges style settings with the current object and has the option to
force style settings from the merge object 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 bool Merge(object obj, bool force)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Merge(obj As Object, force 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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">obj</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 force unconditional copy</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></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_StyleInfo_Merge_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge*"></a>
<h4 id="FarPoint_Web_Spread_StyleInfo_Merge_System_Object_System_Boolean_System_Object_" data-uid="FarPoint.Web.Spread.StyleInfo.Merge(System.Object,System.Boolean,System.Object)">Merge(object, bool, object)</h4>
<div class="markdown level1 summary"><p>Merges style settings with the current object and has the option to
force style settings from the merge object 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 bool Merge(object obj, bool force, object objExclude)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Merge(obj As Object, force As Boolean, objExclude As Object) 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.object">object</a></td>
      <td><span class="parametername">obj</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 force unconditional copy</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">objExclude</span></td>
      <td><p>Doesn't merge style that set in objExclude</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></td>
    </tr>
  </tbody>
</table>
</div>
