# CommandMdiList Command

Get started with Menus and Toolbars for WinForms. Create versatile menus and docking/floating toolbars. See more in documentation here.

## Content



[C1CommandMdiList](/componentone/docs/win/online-menus-toolbar/) component is a command which, at run time, expands to a list of items corresponding to the MDI child windows of the current window. Note that this is not a submenu. You can either put this command in a submenu all by itself, or add other menu items before or after it.

The following image shows how the [C1CommandMdiList](/componentone/docs/win/online-menus-toolbar/) displays a list of items corresponding to the MDI child windows.

<br />![Display list](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/imagesext/image11_110.png)

You can restrict the amount of items the [C1CommandMdiList](/componentone/docs/win/online-menus-toolbar/) command displays in its Menu's list by setting the [MaxItems](/componentone/docs/win/online-menus-toolbar/) to the desired amount of items you would like to show. The default value for this property is 10.

You can also show hidden MDI windows in the menu's list by setting [ListHidden](/componentone/docs/win/online-menus-toolbar/) to **True**.

For more information on how to accomplish creating a Window list for MDI child windows, see [Creating a Window List for an MDI Form](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/menutasks/creatingawindowlistf).

## See Also

[Unique Objects Among Menus and Toolbars](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsover/uniqueobjectsamongme)