A DocumentList control provides a managed implementation of the native Windows CE DocList control, the control that is visible, for example, when you start Microsoft® Pocket Word and Microsoft® Pocket Excel. This control provides the following functionality:
-
Select, delete, copy, move, and rename files and folders.
-
Sort by a file name, date, or size.
-
E-mail files.
-
Send files by infrared to another device.
A DocumentList is a control rather then an entire dialog like such as FileDialog. Using a DocumentList control allows you include custom menus or other controls in your files selection UI.
A DocumentList should have the same width as the form on which it is placed. The length can be as long as needed.
A DocumentList only displays the files of a selected folder in the My Documents hierarchy.