# C1.Framework.Style.Copy

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Style_Copy_" data-uid="C1.Framework.Style.Copy*">Copy Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Style_Copy_" data-uid="C1.Framework.Style.Copy*"></a>
<h4 id="C1_Framework_Style_Copy_C1_Framework_Style_" data-uid="C1.Framework.Style.Copy(C1.Framework.Style)">Copy(Style)</h4>
<div class="markdown level1 summary"><p>Copies all attributes 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 Copy(Style source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Copy(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_Copy_C1_Framework_Style__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The difference between this method and <a class="xref" href="C1.Framework.Style.Clone.html#C1_Framework_Style_Clone">Clone()</a> is that <b>Clone</b> returns a new
object, while <b>Copy</b> modifies the attributes in an existing style.</p>
</div>
</div>
