# C1.Win.Command.C1CommandMdiList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Command_C1CommandMdiList" data-uid="C1.Win.Command.C1CommandMdiList" class="text-break">C1CommandMdiList Class
</h1>
  <div class="markdown level0 summary"><p>C1CommandMdiList.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Command.C1Command.html">C1Command</a></div>
    <div class="level4"><span class="xref">C1CommandMdiList</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Command.html">C1.Win.Command</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Command.4.8.dll</h6>
  <h5 id="C1_Win_Command_C1CommandMdiList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1Description(&quot;C1CommandMdiList&quot;, &quot;Represents a command that expands to the list of available MDI child windows at runtime.&quot;)]
public class C1CommandMdiList : C1Command, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1CommandMdiList&quot;, &quot;Represents a command that expands to the list of available MDI child windows at runtime.&quot;)&gt;
Public Class C1CommandMdiList
    Inherits C1Command
    Implements IComponent, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList__ctor" data-uid="C1.Win.Command.C1CommandMdiList.#ctor">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.-ctor.html#C1_Win_Command_C1CommandMdiList__ctor">C1CommandMdiList()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the C1CommandMdiList class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_DefaultText" data-uid="C1.Win.Command.C1CommandMdiList.DefaultText">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.DefaultText.html#C1_Win_Command_C1CommandMdiList_DefaultText">DefaultText</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_ListHidden" data-uid="C1.Win.Command.C1CommandMdiList.ListHidden">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.ListHidden.html#C1_Win_Command_C1CommandMdiList_ListHidden">ListHidden</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value indicating whether to list hidden windows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_MaxItems" data-uid="C1.Win.Command.C1CommandMdiList.MaxItems">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.MaxItems.html#C1_Win_Command_C1CommandMdiList_MaxItems">MaxItems</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or returns the maximum number of menu items created.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_Text" data-uid="C1.Win.Command.C1CommandMdiList.Text">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.Text.html#C1_Win_Command_C1CommandMdiList_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_Dispose_System_Boolean_" data-uid="C1.Win.Command.C1CommandMdiList.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.Dispose.html#C1_Win_Command_C1CommandMdiList_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the C1CommandMdiList.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_Invoke_C1_Win_Command_ClickEventArgs_" data-uid="C1.Win.Command.C1CommandMdiList.Invoke(C1.Win.Command.ClickEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.Invoke.html#C1_Win_Command_C1CommandMdiList_Invoke_C1_Win_Command_ClickEventArgs_">Invoke(ClickEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method should not be called directly, as there is no clear meaning in invoking a command which is actually a placeholder for commands created on the fly.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_IsEmpty" data-uid="C1.Win.Command.C1CommandMdiList.IsEmpty">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.IsEmpty.html#C1_Win_Command_C1CommandMdiList_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if there are currently no items in the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_OnBeforeSelectWindow_C1_Win_Command_BeforeSelectWindowEventArgs_" data-uid="C1.Win.Command.C1CommandMdiList.OnBeforeSelectWindow(C1.Win.Command.BeforeSelectWindowEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.OnBeforeSelectWindow.html#C1_Win_Command_C1CommandMdiList_OnBeforeSelectWindow_C1_Win_Command_BeforeSelectWindowEventArgs_">OnBeforeSelectWindow(BeforeSelectWindowEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_OnCommandLinkAdded_C1_Win_Command_CommandLinkEventArgs_" data-uid="C1.Win.Command.C1CommandMdiList.OnCommandLinkAdded(C1.Win.Command.CommandLinkEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.OnCommandLinkAdded.html#C1_Win_Command_C1CommandMdiList_OnCommandLinkAdded_C1_Win_Command_CommandLinkEventArgs_">OnCommandLinkAdded(CommandLinkEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_OnCommandLinkRemoved_C1_Win_Command_CommandLinkEventArgs_" data-uid="C1.Win.Command.C1CommandMdiList.OnCommandLinkRemoved(C1.Win.Command.CommandLinkEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.OnCommandLinkRemoved.html#C1_Win_Command_C1CommandMdiList_OnCommandLinkRemoved_C1_Win_Command_CommandLinkEventArgs_">OnCommandLinkRemoved(CommandLinkEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_OnCommandStateQuery_C1_Win_Command_CommandStateQueryEventArgs_" data-uid="C1.Win.Command.C1CommandMdiList.OnCommandStateQuery(C1.Win.Command.CommandStateQueryEventArgs)">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.OnCommandStateQuery.html#C1_Win_Command_C1CommandMdiList_OnCommandStateQuery_C1_Win_Command_CommandStateQueryEventArgs_">OnCommandStateQuery(CommandStateQueryEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_ShowSelectorWindow" data-uid="C1.Win.Command.C1CommandMdiList.ShowSelectorWindow">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.ShowSelectorWindow.html#C1_Win_Command_C1CommandMdiList_ShowSelectorWindow">ShowSelectorWindow()</a>
        </td>
        <td class="markdown level1 summary"><p>Populates and shows the popup window with the list of all currently available MDI child windows.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Command_C1CommandMdiList_BeforeSelectWindow" data-uid="C1.Win.Command.C1CommandMdiList.BeforeSelectWindow">
          <a class="xref" href="C1.Win.Command.C1CommandMdiList.BeforeSelectWindow.html">BeforeSelectWindow</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before the Select Window dialog is shown.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
