# C1.Framework.Style.Merge

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Style_Merge_" data-uid="C1.Framework.Style.Merge*">Merge Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Style_Merge_" data-uid="C1.Framework.Style.Merge*"></a>
<h4 id="C1_Framework_Style_Merge_C1_Framework_Style_" data-uid="C1.Framework.Style.Merge(C1.Framework.Style)">Merge(Style)</h4>
<div class="markdown level1 summary"><p>Copies attributes set to non-default values from another <a class="xref" href="C1.Framework.Style.html">Style</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Merge(Style source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Merge(source As Style)</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="C1.Framework.Style.html">Style</a></td>
      <td><span class="parametername">source</span></td>
      <td><p><a class="xref" href="C1.Framework.Style.html">Style</a> object that contains the attributes to copy.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Style_Merge_C1_Framework_Style__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The difference between <a class="xref" href="C1.Framework.Style.Copy.html#C1_Framework_Style_Copy_C1_Framework_Style_">Copy(Style)</a> and <b>Merge</b> is that <b>Merge</b> will not copy
attributes that are set to their default values in the <code class="paramref">source</code> <a class="xref" href="C1.Framework.Style.html">Style</a>.</p>
</div>
</div>
