# C1.C1Preview.RenderTextBase.AssignFrom

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderTextBase_AssignFrom_" data-uid="C1.C1Preview.RenderTextBase.AssignFrom*">AssignFrom Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderTextBase_AssignFrom_" data-uid="C1.C1Preview.RenderTextBase.AssignFrom*"></a>
<h4 id="C1_C1Preview_RenderTextBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderTextBase.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a>, also copies <a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a>-specific properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void AssignFrom(RenderObject source, 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 Overrides Sub AssignFrom(source As RenderObject, assignDataBinding As Boolean, assignChildren As Boolean, assignAnchors As Boolean, assignHyperlink As Boolean, assignName As Boolean, assignStyle 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="C1.C1Preview.RenderObject.html">RenderObject</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The source object to copy properties from.</p>
</td>
    </tr>
    <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.DataBinding.html">C1.C1Preview.DataBinding</a> property should be copied.</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 elements of the <a class="xref" href="C1.C1Preview.RenderObject.Children.html#C1_C1Preview_RenderObject_Children">Children</a> collection should be copied.</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 elements of the <a class="xref" href="C1.C1Preview.RenderObject.Anchors.html#C1_C1Preview_RenderObject_Anchors">Anchors</a> collection should be copied.</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 copied.</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 copied.</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.Style.html">Style</a> property should be copied.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">RenderObject.AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a></div>
</div>
