# C1.C1Preview.RenderObject.Clone

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderObject_Clone_" data-uid="C1.C1Preview.RenderObject.Clone*">Clone Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderObject_Clone_" data-uid="C1.C1Preview.RenderObject.Clone*"></a>
<h4 id="C1_C1Preview_RenderObject_Clone_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderObject.Clone(System.Boolean,System.Boolean)">Clone(bool, bool)</h4>
<div class="markdown level1 summary"><p>Clones the current <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderObject Clone(bool assignDataBinding, bool assignChildren)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Clone(assignDataBinding As Boolean, assignChildren As Boolean) As RenderObject</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.boolean">bool</a></td>
      <td><span class="parametername">assignDataBinding</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.DataBinding.html#C1_C1Preview_RenderObject_DataBinding">DataBinding</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignChildren</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Children.html#C1_C1Preview_RenderObject_Children">Children</a> property should be cloned.</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="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><p>The newly created object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderObject_Clone_" data-uid="C1.C1Preview.RenderObject.Clone*"></a>
<h4 id="C1_C1Preview_RenderObject_Clone_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderObject.Clone(System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">Clone(bool, bool, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Clones the current <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderObject Clone(bool assignDataBinding, bool assignChildren, bool assignAnchors, bool assignHyperlink, bool assignName, bool assignStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Clone(assignDataBinding As Boolean, assignChildren As Boolean, assignAnchors As Boolean, assignHyperlink As Boolean, assignName As Boolean, assignStyle As Boolean) As RenderObject</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.boolean">bool</a></td>
      <td><span class="parametername">assignDataBinding</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.DataBinding.html#C1_C1Preview_RenderObject_DataBinding">DataBinding</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignChildren</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Children.html#C1_C1Preview_RenderObject_Children">Children</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignAnchors</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Anchors.html#C1_C1Preview_RenderObject_Anchors">Anchors</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignHyperlink</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Hyperlink.html#C1_C1Preview_RenderObject_Hyperlink">Hyperlink</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignName</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Name.html#C1_C1Preview_RenderObject_Name">Name</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignStyle</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Style.html#C1_C1Preview_RenderObject_Style">Style</a> property should be cloned.</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="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><p>The newly created object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderObject_Clone_" data-uid="C1.C1Preview.RenderObject.Clone*"></a>
<h4 id="C1_C1Preview_RenderObject_Clone_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderObject.Clone(System.Boolean,System.Boolean,System.Boolean,System.Boolean)">Clone(bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Clones the current <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderObject Clone(bool assignDataBinding, bool assignChildren, bool assignAnchors, bool assignHyperlink)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Clone(assignDataBinding As Boolean, assignChildren As Boolean, assignAnchors As Boolean, assignHyperlink As Boolean) As RenderObject</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.boolean">bool</a></td>
      <td><span class="parametername">assignDataBinding</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.DataBinding.html#C1_C1Preview_RenderObject_DataBinding">DataBinding</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignChildren</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Children.html#C1_C1Preview_RenderObject_Children">Children</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignAnchors</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Anchors.html#C1_C1Preview_RenderObject_Anchors">Anchors</a> property should be cloned.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">assignHyperlink</span></td>
      <td><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderObject.Hyperlink.html#C1_C1Preview_RenderObject_Hyperlink">Hyperlink</a> property should be cloned.</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="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><p>The newly created object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_RenderObject_Clone_" data-uid="C1.C1Preview.RenderObject.Clone*"></a>
<h4 id="C1_C1Preview_RenderObject_Clone" data-uid="C1.C1Preview.RenderObject.Clone">Clone()</h4>
<div class="markdown level1 summary"><p>Clones the current <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RenderObject Clone()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Clone() As RenderObject</code></pre>
</div>
<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="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><p>The newly created object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
