MultipleView Control Pattern
Describes guidelines and conventions for implementing IMultipleViewProvider, including information about properties and methods. Links to additional references are listed at the end of the topic. The MultipleView control pattern is used to support controls that provide, and are able to switch between, multiple representations of the same information or the same set of child controls.
Examples of controls that can present multiple views include the list view (which can show its contents as thumbnails, tiles, icons, or details), Microsoft Excel charts (pie, line, bar, cell value with a formula), Microsoft Word documents (normal, web layout, print layout, reading layout, outline), Microsoft Outlook calendar (year, month, week, day), and Microsoft Windows Media Player skins. The supported views are determined by the control developer and are specific to each control.
This topic contains the following sections.
When implementing the MultipleView control pattern, note the following guidelines and conventions:
- IMultipleViewProvider should also be implemented on a container that manages the current view if it is different from a control that provides the current view. For example, Windows Explorer contains a list control for the current folder content while the view for the control is managed from the Windows Explorer application.
- A control that is able to sort its content is not considered to support multiple views.
- The collection of views must be identical across instances.
- View names must be suitable for use in text to speech, Braille, and other human-readable applications.
The following properties and methods are required for implementing the IMultipleViewProvider interface.
|Required members||Member type||Notes|
This control pattern has no associated events.
- Control Types and Their Supported Control Patterns
- UI Automation Control Patterns Overview
- UI Automation Tree Overview
- ExpandCollapse Control Pattern