Content View By File Type or Kind
This topic describes a new view in Windows Explorer, called the Content view, that displays the most relevant content for each item. Using a set of registry keys, items can define a property list and a layout that the Shell uses for Content view. The Shell retrieves the registry keys by using the item's association array.
This topic is organized as follows:
- How Does the Content View Work?
- How to Implement the Content View
- Additional Resources
- Related topics
How Does the Content View Work?
In Windows 7 and later, the Content view uses a resizing logic that drops properties when the window size decreases, to ensure that the most critical properties still have room to be clearly readable. The following screen shot illustrates the Content view of search results containing music, pictures, and documents.

Some Shell data sources use Content view by default, but users can select the Content view by clicking the View Control button in Windows Explorer. A Shell data source extends the Shell namespace and exposes items in a data store. The items in a data store can be indexed by the Windows Search system using a protocol handler.
How to Implement the Content View
When registering a new file type or protocol handler, you can take advantage of the Content view by using either of two different approaches. You can use an existing set of properties and layout pattern, or you can create your own combination. These two approaches are described in detail:
- How To Associate Your File Type or Item with an Item Kind
- How To Register a Unique Content View Set of Properties and Layout Pattern for the File Type or Item
Additional Resources
- For property reference documentation, see System.Kind, and System.KindText.
- For PropList reference documentation, see System.PropList.ContentViewModeForBrowse, and System.PropList.ContentViewModeForSearch.
Related topics
- Application Registration
- File Types
- How File Associations Work
- File Type Verifier
- File Type Handlers
- Programmatic Identifiers
- Perceived Types
- Association Arrays
Send comments about this topic to Microsoft
Build date: 3/7/2012