| description | ViewDefinitions Element |
|---|---|
| ms.date | 08/25/2021 |
| ms.topic | reference |
| title | ViewDefinitions Element |
Defines the views used to display .NET objects. These views can display the properties and script values of an object in a table format, list format, wide format, and custom control format.
- Configuration Element
- ViewDefinitions
<ViewDefinitions>
<View>...</View>
</ViewDefinitions>The following sections describe the attributes, child elements, and parent element of the
ViewDefinitions element. There is no limit to the number of views that can be defined in a
formatting file, and they can be added in any order.
None.
| Element | Description |
|---|---|
| View Element | Defines a view that is used to display one or more .NET objects. |
| Element | Description |
|---|---|
| Configuration Element | Represents the top-level element of a formatting file. |
For more information about the components of the different types of views, see the following topics:
This example shows a ViewDefinitions element that contains the parent elements for a table view
and a list view.
<Configuration>
<ViewDefinitions>
<View>
<TableControl>...</TableControl>
</View>
<View>
<ListControl>...</ListControl>
</View>
</ViewDefinitions>
</Configuration>