# GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.LogicalChildren

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_LogicalChildren_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.LogicalChildren*">LogicalChildren Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_LogicalChildren_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.LogicalChildren*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_LogicalChildren" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.LogicalChildren">LogicalChildren</h4>
<div class="markdown level1 summary"><p>Gets an enumerator for logical child elements of this element.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override IEnumerator LogicalChildren { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides ReadOnly Property LogicalChildren As IEnumerator</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a> for logical child elements of this element.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement.logicalchildren">FrameworkElement.LogicalChildren</a></div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_LogicalChildren_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
    When you add content to a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a>, the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> becomes the logical parent to the content. Similarly, the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> content is considered to be the logical child of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a>. The child content is not added to the visual tree that contains the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> control. Instead, the child content is rendered in a separate window that has its own visual tree when the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.IsOpen.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_IsOpen">IsOpen</a> property is set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.
    </p>
<p>
    And when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.IsOpen.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_IsOpen">IsOpen</a> is set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, its content is added to the host <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.popup">Popup</a> control, which becomes the logical child of this <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> at the same time.
    </p>
</div>
</div>
