# C1.WPF.C1DockPanel.LastChildFill

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1DockPanel_LastChildFill_" data-uid="C1.WPF.C1DockPanel.LastChildFill*">LastChildFill Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1DockPanel_LastChildFill_" data-uid="C1.WPF.C1DockPanel.LastChildFill*"></a>
<h4 id="C1_WPF_C1DockPanel_LastChildFill" data-uid="C1.WPF.C1DockPanel.LastChildFill">LastChildFill</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the last child of the panel fills the remaining space.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool LastChildFill { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property LastChildFill As Boolean</code></pre>
</div>
<h5 id="C1_WPF_C1DockPanel_LastChildFill_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If this property is set to True, then the Dock property of the last child element will be ignored, and the panel will try to fill the empty space.</p>
</div>
</div>
