# C1.Framework.Element.RenderChildren

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Element_RenderChildren_" data-uid="C1.Framework.Element.RenderChildren*">RenderChildren Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Element_RenderChildren_" data-uid="C1.Framework.Element.RenderChildren*"></a>
<h4 id="C1_Framework_Element_RenderChildren_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="C1.Framework.Element.RenderChildren(System.Drawing.Graphics,System.Drawing.Rectangle)">RenderChildren(Graphics, Rectangle)</h4>
<div class="markdown level1 summary"><p>Renders the child elements into a given rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void RenderChildren(Graphics g, Rectangle r)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub RenderChildren(g As Graphics, r As Rectangle)</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.drawing.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>Graphics object where the element will be rendered.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>Rectangle where the child elements will be rendered.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Element_RenderChildren_System_Drawing_Graphics_System_Drawing_Rectangle__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Derived elements may override this method in order to draw into the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a>
after the background and borders have been rendered but before the child elements are
rendered.</p>
</div>
</div>
